diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-27 13:12:52 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-27 13:12:52 +0000 |
commit | ff1d81df67d766ed9567e2d52c1d86fc20d718a2 (patch) | |
tree | e4f6e84c71fae93e04ff4803b23c1353e9de0f0b /gst | |
parent | bb82304826c6fc3e8bd919d79f15e794fe387b9c (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavidemux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index aeb75592..1a422b59 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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; |