summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-13 02:52:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-13 02:57:49 +0200
commitd6f79edb6e5a5477ab4ea36d93aace5b508e6fd3 (patch)
treedf03fefd451e8951367fa8a1bfb4e4eb5d1912c4 /libavformat
parent9891004ba91a126f56cd02c6f7a7b0c368a158b9 (diff)
flv demuxer: dont error out due to index problems, but inform the user about it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 58a2abad2b..44d21683ba 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -211,7 +211,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vst
if (ioc->seekable && key && !strcmp(KEYFRAMES_TAG, key) && depth == 1)
if (parse_keyframes_index(s, ioc, vstream, max_pos) < 0)
- return -1;
+ av_log(s, AV_LOG_ERROR, "Keyframe index parsing failed\n");
while(avio_tell(ioc) < max_pos - 2 && (keylen = avio_rb16(ioc))) {
avio_skip(ioc, keylen); //skip key string