Commit f6d8dee6 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

gst/avi/gstavidemux.c: Fix AVI header parsing: add missing break statement after

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header):
Fix AVI header parsing: add missing break statement after
GST_RIFF_INFO_LIST parsing code; gst_riff_read_chunk() has
already advanced the avi->offset, no need to do it twice
(fixes MovieOfMovies.avi).
parent 471fec5c
2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header):
Fix AVI header parsing: add missing break statement after
GST_RIFF_INFO_LIST parsing code; gst_riff_read_chunk() has
already advanced the avi->offset, no need to do it twice
(fixes MovieOfMovies.avi).
2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
 
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init),
......
......@@ -1848,6 +1848,8 @@ gst_avi_demux_stream_header (GstAviDemux * avi)
avi->avih->streams, avi->num_streams);
}
GST_DEBUG_OBJECT (avi, "skipping junk between header and data ...");
/* Now, find the data (i.e. skip all junk between header and data) */
do {
guint size;
......@@ -1881,6 +1883,8 @@ gst_avi_demux_stream_header (GstAviDemux * avi)
gst_tag_list_free (t);
gst_buffer_unref (buf);
}
/* gst_riff_read_chunk() has already advanced avi->offset */
break;
default:
avi->offset += 8 + ((size + 1) & ~1);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment