From 52e9c2a32bf5dfcafff298142182b98597b7fcb6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 8 Oct 2008 14:47:14 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/avi/gstavidemux.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 22e48517c4..eeb82a62c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-08 Wim Taymans + + * 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 * gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex), diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index a0b4741280..255f5353ea 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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;