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.
This commit is contained in:
Wim Taymans 2008-01-14 11:41:32 +00:00
parent 471651b465
commit 179887388e
2 changed files with 7 additions and 1 deletions

View file

@ -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> 2008-01-14 Sebastian Dröge <slomo@circular-chaos.org>
* ext/lame/gstlame.c: (gst_lame_sink_event): * ext/lame/gstlame.c: (gst_lame_sink_event):

View file

@ -691,7 +691,7 @@ clear_queued (GstMpeg2dec * mpeg2dec)
static GstFlowReturn static GstFlowReturn
flush_queued (GstMpeg2dec * mpeg2dec) flush_queued (GstMpeg2dec * mpeg2dec)
{ {
GstFlowReturn res; GstFlowReturn res = GST_FLOW_OK;
while (mpeg2dec->queued) { while (mpeg2dec->queued) {
GstBuffer *buf = GST_BUFFER_CAST (mpeg2dec->queued->data); GstBuffer *buf = GST_BUFFER_CAST (mpeg2dec->queued->data);