From d078c2bbf14bcdd5f1770ed885255f15a50f72e3 Mon Sep 17 00:00:00 2001 From: mosu Date: Thu, 11 Sep 2003 09:05:54 +0000 Subject: [PATCH] Fixed seeking in MPEG4 files. Patch by Uwe Reder . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10850 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c index 4083b4c4bf..567471fb8c 100644 --- a/libmpdemux/demux_mov.c +++ b/libmpdemux/demux_mov.c @@ -1682,6 +1682,7 @@ if(trak->pos==0 && trak->stream_header_len>0){ stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x); free(trak->stream_header); trak->stream_header = NULL; + trak->stream_header_len = 0; dp->pts=pts; dp->flags=0; dp->pos=pos; // FIXME?