From ef5f4318f2847f9d097ca283c67873dbb596cdd2 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 12 Sep 2001 16:55:42 +0000 Subject: small bugfix to make audio work when seeking back CVS patchset: 622 CVS date: 2001/09/12 16:55:42 --- src/demuxers/demux_avi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index 3fb87df48..d9409dbb9 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_avi.c,v 1.40 2001/09/10 03:04:48 guenter Exp $ + * $Id: demux_avi.c,v 1.41 2001/09/12 16:55:42 guenter Exp $ * * demultiplexer for avi streams * @@ -577,6 +577,8 @@ static void AVI_seek_start(avi_t *AVI) { AVI->video_posf = 0; AVI->video_posb = 0; + AVI->audio_posc = 0; + AVI->audio_posb = 0; } static long AVI_read_audio(demux_avi_t *this, avi_t *AVI, char *audbuf, -- cgit v1.2.3