changeset 10849:9c472c2c60fb

Fixed seeking in MPEG4 files. Patch by Uwe Reder <Uwe.Reder@3SOFT.de>.
author mosu
date Thu, 11 Sep 2003 09:05:54 +0000
parents 5844bf004dec
children b83256bb0b69
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Thu Sep 11 07:09:25 2003 +0000
+++ b/libmpdemux/demux_mov.c	Thu Sep 11 09:05:54 2003 +0000
@@ -1682,6 +1682,7 @@
     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?