diff options
author | Carl Eugen Hoyos | 2016-10-18 15:01:50 +0200 |
---|---|---|
committer | Carl Eugen Hoyos | 2016-10-18 15:01:50 +0200 |
commit | 31a0a84216583ff270c4dced9d126fdb3ca499c0 (patch) | |
tree | 21b5337ea8fdbf1b8673bb654cd17c3e7c16fc1d /libavformat/avidec.c | |
parent | 2c1be03cb38fb8a11331e7b8ce761569af3aab58 (diff) |
lavf/avidec: Be more verbose when ignoring very large tag size.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index b29162515b..e5a292ee42 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -984,9 +984,13 @@ FF_ENABLE_DEPRECATION_WARNINGS } default: if (size > 1000000) { + char tag_buf[32]; + av_get_codec_tag_string(tag_buf, sizeof(tag_buf), tag); av_log(s, AV_LOG_ERROR, "Something went wrong during header parsing, " - "I will ignore it and try to continue anyway.\n"); + "tag %s has size %u, " + "I will ignore it and try to continue anyway.\n", + tag_buf, size); if (s->error_recognition & AV_EF_EXPLODE) goto fail; avi->movi_list = avio_tell(pb) - 4; |