projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c9c1b
)
clear internal queue when seeking
author
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 29 Dec 2007 18:35:38 +0000
(18:35 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 29 Dec 2007 18:35:38 +0000
(18:35 +0000)
Originally committed as revision 11351 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
20e071b
..
8d201b6
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-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);