gst/avi/gstavidemux.c: Reset header state. Fixes #555321.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index):
Reset header state. Fixes #555321.
This commit is contained in:
Wim Taymans 2008-10-08 14:47:14 +00:00
parent b9a1894e5c
commit 52e9c2a32b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index):
Reset header state. Fixes #555321.
2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex),

View file

@ -239,6 +239,7 @@ gst_avi_demux_reset (GstAviDemux * avi)
}
memset (&avi->stream, 0, sizeof (avi->stream));
avi->header_state = GST_AVI_DEMUX_HEADER_TAG_LIST;
avi->num_streams = 0;
avi->num_v_streams = 0;
avi->num_a_streams = 0;