From: Wim Taymans Date: Mon, 14 Jan 2008 11:41:32 +0000 (+0000) Subject: ext/mpeg2dec/gstmpeg2dec.c: Fix compilation error. Fixes #509313. X-Git-Tag: 1.19.3~505^2~1647 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=179887388e08cce7c87a3d896991405808ee3b3d;p=platform%2Fupstream%2Fgstreamer.git ext/mpeg2dec/gstmpeg2dec.c: Fix compilation error. Fixes #509313. Original commit message from CVS: * ext/mpeg2dec/gstmpeg2dec.c: (clear_queued), (flush_queued), (handle_picture), (handle_slice): Fix compilation error. Fixes #509313. --- diff --git a/ChangeLog b/ChangeLog index 58053f4..25e16b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-14 Wim Taymans + + * ext/mpeg2dec/gstmpeg2dec.c: (clear_queued), (flush_queued), + (handle_picture), (handle_slice): + Fix compilation error. Fixes #509313. + 2008-01-14 Sebastian Dröge * ext/lame/gstlame.c: (gst_lame_sink_event): diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index 56445e6..63868ae 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -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);