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:
0a7ce3c
)
flvdec: Ignore the index if the ignidx flag is set
author
Martin Storsjö
<martin@martin.st>
Wed, 22 Feb 2012 09:26:42 +0000
(11:26 +0200)
committer
Martin Storsjö
<martin@martin.st>
Wed, 22 Feb 2012 10:27:24 +0000
(12:27 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
70a7d20
..
01c67b4
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-157,6
+157,9
@@
static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream
return 0;
}
+ if (s->flags & AVFMT_FLAG_IGNIDX)
+ return 0;
+
while (avio_tell(ioc) < max_pos - 2 && amf_get_string(ioc, str_val, sizeof(str_val)) > 0) {
int64_t* current_array;