[FFmpeg-cvslog] r14960 - trunk/libavformat/matroskadec.c
aurel
subversion
Mon Aug 25 02:17:31 CEST 2008
Author: aurel
Date: Mon Aug 25 02:17:31 2008
New Revision: 14960
Log:
matroskadec: unset matroska->done when seeking
just in case someone try to seek back after reaching the end of file
Modified:
trunk/libavformat/matroskadec.c
Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c (original)
+++ trunk/libavformat/matroskadec.c Mon Aug 25 02:17:31 2008
@@ -1670,6 +1670,7 @@ static int matroska_read_seek(AVFormatCo
url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET);
matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY);
matroska->skip_to_stream = st;
+ matroska->done = 0;
av_update_cur_dts(s, st, st->index_entries[index].timestamp);
return 0;
}
More information about the ffmpeg-cvslog
mailing list