ext/mpeg2dec/gstmpeg2dec.c: Fix compilation error. Fixes #509313.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 14 Jan 2008 11:41:32 +0000 (11:41 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 14 Jan 2008 11:41:32 +0000 (11:41 +0000)
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (clear_queued), (flush_queued),
(handle_picture), (handle_slice):
Fix compilation error. Fixes #509313.

ChangeLog
ext/mpeg2dec/gstmpeg2dec.c

index 58053f4..25e16b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-14  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * ext/mpeg2dec/gstmpeg2dec.c: (clear_queued), (flush_queued),
+       (handle_picture), (handle_slice):
+       Fix compilation error. Fixes #509313.
+
 2008-01-14  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * ext/lame/gstlame.c: (gst_lame_sink_event):
index 56445e6..63868ae 100644 (file)
@@ -691,7 +691,7 @@ clear_queued (GstMpeg2dec * mpeg2dec)
 static GstFlowReturn
 flush_queued (GstMpeg2dec * mpeg2dec)
 {
-  GstFlowReturn res;
+  GstFlowReturn res = GST_FLOW_OK;
 
   while (mpeg2dec->queued) {
     GstBuffer *buf = GST_BUFFER_CAST (mpeg2dec->queued->data);