ext/vorbis/vorbisparse.c (vorbis_parse_sink_event): Fix uninitialized variable return that would happen.

Original commit message from CVS:
2006-03-31  Andy Wingo  <wingo@pobox.com>

* ext/vorbis/vorbisparse.c (vorbis_parse_sink_event): Fix
uninitialized variable return that would happen.
This commit is contained in:
Andy Wingo 2006-03-31 17:08:41 +00:00
parent eb91cbd480
commit 8698d64a47
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2006-03-31 Andy Wingo <wingo@pobox.com>
* ext/vorbis/vorbisparse.c (vorbis_parse_sink_event): Fix
uninitialized variable return that would happen.
* ext/vorbis/vorbisparse.c (vorbis_parse_drain_queue): Fix
uninitialized variable return that would never happen.

View file

@ -396,6 +396,7 @@ vorbis_parse_sink_event (GstPad * pad, GstEvent * event)
vorbis_parse_clear_queue (parse);
parse->prev_granulepos = -1;
parse->prev_blocksize = -1;
ret = gst_pad_event_default (pad, event);
break;
case GST_EVENT_EOS:
vorbis_parse_drain_queue_prematurely (parse);