diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com> | 2012-01-13 14:50:49 -0300 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-18 01:36:19 +0000 |
commit | c95e1a817ad41664c99dad14f61eb7cb4f6838bd (patch) | |
tree | 8d25f17b59205373ae20c3c452e08b478eeb7fe4 | |
parent | 16f070bd66904f4e7f3735c8844427f84dc79a9e (diff) |
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.
-rw-r--r-- | ext/vorbis/gstvorbisdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c index baff0dd28..f476d45a6 100644 --- a/ext/vorbis/gstvorbisdec.c +++ b/ext/vorbis/gstvorbisdec.c @@ -557,7 +557,7 @@ vorbis_handle_data_packet (GstVorbisDec * vd, ogg_packet * packet, * before pushing data. */ #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; #else if (G_UNLIKELY (vorbis_synthesis (&vd->vb, packet))) |