Commit 798d4e8e authored by aurel's avatar aurel

matroskadec: unset matroska->done when seeking

just in case someone try to seek back after reaching the end of file


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14960 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c33ae6a7
......@@ -1670,6 +1670,7 @@ static int matroska_read_seek(AVFormatContext *s, int stream_index,
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;
}
......
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