Mercurial > libavformat.hg
changeset 2872:a9bb4614c0f8 libavformat
clear internal queue when seeking
author | aurel |
---|---|
date | Sat, 29 Dec 2007 18:35:38 +0000 |
parents | b2f261fccb0b |
children | 3fad6c2f343a |
files | matroskadec.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Sat Dec 29 18:32:47 2007 +0000 +++ b/matroskadec.c Sat Dec 29 18:35:38 2007 +0000 @@ -2688,6 +2688,8 @@ 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);