[FFmpeg-cvslog] r11351 - trunk/libavformat/matroskadec.c

aurel subversion
Sat Dec 29 19:35:38 CET 2007


Author: aurel
Date: Sat Dec 29 19:35:38 2007
New Revision: 11351

Log:
clear internal queue when seeking

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Sat Dec 29 19:35:38 2007
@@ -2688,6 +2688,8 @@ matroska_read_seek (AVFormatContext *s, 
     if (index < 0)
         return 0;
 
+    matroska_clear_queue(matroska);
+
     /* do the seek */
     url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET);
     matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY);




More information about the ffmpeg-cvslog mailing list