avidemux: fix header parsing in push mode

Fix 'break' that got warped to the wrong place,
probably as part of a merge. Fixes GST_IS_BUFFER
criticals in parse_idit() when being accidentally
passed a NULL buffer because of the missing break.

gst-launch-1.0 playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480i.avi
This commit is contained in:
Tim-Philipp Müller 2012-07-18 23:43:59 +01:00
parent 0c24e92308
commit f879e4e0f0

View file

@ -3228,8 +3228,8 @@ gst_avi_demux_stream_header_push (GstAviDemux * avi)
case GST_RIFF_TAG_JUNQ: case GST_RIFF_TAG_JUNQ:
case GST_RIFF_TAG_JUNK: case GST_RIFF_TAG_JUNK:
goto next; goto next;
break;
} }
break;
case GST_RIFF_IDIT: case GST_RIFF_IDIT:
gst_avi_demux_parse_idit (avi, sub); gst_avi_demux_parse_idit (avi, sub);
goto next; goto next;