Commit bd44de35 authored by aurel's avatar aurel

clear internal queue when seeking

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0403beaa
......@@ -2688,6 +2688,8 @@ matroska_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp,
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment