gst/avi/gstavidemux.c: Initialze variables.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_next_data_buffer),
(gst_avi_demux_stream_scan):
Initialze variables.
This commit is contained in:
Stefan Kost 2006-08-27 13:12:52 +00:00
parent bb82304826
commit ff1d81df67
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2006-08-27 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_next_data_buffer),
(gst_avi_demux_stream_scan):
Initialze variables.
2006-08-25 Wim Taymans <wim@fluendo.com>
* gst/avi/gstavidemux.c: (gst_avi_demux_class_init),

View file

@ -1814,18 +1814,18 @@ gst_avi_demux_next_data_buffer (GstAviDemux * avi, guint64 * offset,
guint32 * tag, guint * size)
{
guint64 off = *offset;
guint siz;
guint _size = 0;
GstFlowReturn res;
do {
res = gst_avi_demux_peek_tag (avi, off, tag, &siz);
res = gst_avi_demux_peek_tag (avi, off, tag, &_size);
if (res != GST_FLOW_OK)
break;
if (*tag == GST_RIFF_TAG_LIST)
off += 12;
else {
*offset = off + 8;
*size = siz;
*size = _size;
break;
}
} while (TRUE);
@ -1851,7 +1851,7 @@ gst_avi_demux_stream_scan (GstAviDemux * avi,
guint64 pos = avi->offset;
guint64 length;
gint64 tmplength;
guint32 tag;
guint32 tag = 0;
GList *list = NULL;
guint index_size = 0;