avidemux: fix header parsing in push mode
authorTim-Philipp Müller <tim@centricular.net>
Wed, 18 Jul 2012 22:43:59 +0000 (23:43 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 18 Jul 2012 22:43:59 +0000 (23:43 +0100)
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

gst/avi/gstavidemux.c

index 84fcd4d..278c06d 100644 (file)
@@ -3228,8 +3228,8 @@ gst_avi_demux_stream_header_push (GstAviDemux * avi)
                 case GST_RIFF_TAG_JUNQ:
                 case GST_RIFF_TAG_JUNK:
                   goto next;
-                  break;
               }
+              break;
             case GST_RIFF_IDIT:
               gst_avi_demux_parse_idit (avi, sub);
               goto next;