git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avformat/avidec: Speed up keyframe detection code
[ffmpeg.git]
/
libavformat
/
avidec.c
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
84d6ed1
..
562a255
100644
(file)
--- a/
libavformat/avidec.c
+++ b/
libavformat/avidec.c
@@
-1413,7
+1413,7
@@
FF_ENABLE_DEPRECATION_WARNINGS
AVIndexEntry *e;
int index;
AVIndexEntry *e;
int index;
- index = av_index_search_timestamp(st, ast->frame_offset,
0
);
+ index = av_index_search_timestamp(st, ast->frame_offset,
AVSEEK_FLAG_ANY
);
e = &st->index_entries[index];
if (index >= 0 && e->timestamp == ast->frame_offset) {
e = &st->index_entries[index];
if (index >= 0 && e->timestamp == ast->frame_offset) {