mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
ext/vorbis/vorbisparse.c (vorbis_parse_drain_queue): Fix uninitialized variable return that would never happen.
Original commit message from CVS: 2006-03-31 Andy Wingo <wingo@pobox.com> * ext/vorbis/vorbisparse.c (vorbis_parse_drain_queue): Fix uninitialized variable return that would never happen.
This commit is contained in:
parent
cca414a9b5
commit
eb91cbd480
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2006-03-31 Andy Wingo <wingo@pobox.com>
|
2006-03-31 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisparse.c (vorbis_parse_drain_queue): Fix
|
||||||
|
uninitialized variable return that would never happen.
|
||||||
|
|
||||||
* ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)
|
* ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)
|
||||||
(vorbis_parse_sink_event): Add an event function to flush our
|
(vorbis_parse_sink_event): Add an event function to flush our
|
||||||
state on a seek, and to drain buffers on a premature EOS.
|
state on a seek, and to drain buffers on a premature EOS.
|
||||||
|
|
|
@ -289,7 +289,7 @@ done:
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
vorbis_parse_drain_queue (GstVorbisParse * parse, gint64 granulepos)
|
vorbis_parse_drain_queue (GstVorbisParse * parse, gint64 granulepos)
|
||||||
{
|
{
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GList *walk;
|
GList *walk;
|
||||||
gint64 cur = granulepos;
|
gint64 cur = granulepos;
|
||||||
gint64 gp;
|
gint64 gp;
|
||||||
|
|
Loading…
Reference in a new issue