mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
Fix wrong access to undefined struct member
For the USE_TREMOLO case, GstVorbisDec doesn't have a vb member. Besides, Tremolo's vorbis_dsp_synthesis() expects a vorbis_dsp_state to be passed as first argument. Not a vorbis_block.
This commit is contained in:
parent
22e6c28284
commit
87bb5dddb2
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ vorbis_handle_data_packet (GstVorbisDec * vd, ogg_packet * packet,
|
||||||
* before pushing data. */
|
* before pushing data. */
|
||||||
|
|
||||||
#ifdef USE_TREMOLO
|
#ifdef USE_TREMOLO
|
||||||
if (G_UNLIKELY (vorbis_dsp_synthesis (&vd->vb, packet, 1)))
|
if (G_UNLIKELY (vorbis_dsp_synthesis (&vd->vd, packet, 1)))
|
||||||
goto could_not_read;
|
goto could_not_read;
|
||||||
#else
|
#else
|
||||||
if (G_UNLIKELY (vorbis_synthesis (&vd->vb, packet)))
|
if (G_UNLIKELY (vorbis_synthesis (&vd->vb, packet)))
|
||||||
|
|
Loading…
Reference in a new issue