aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-13 22:10:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-13 22:11:04 +0200
commit53d2b69b72b0bac919f3083298d3ad914ea86735 (patch)
tree31a88e3de09a6aaa67c2a713882c8851c5019671 /libavcodec
parente5397513b93d356ffec8e401e18cb8e8d89e2077 (diff)
parentd84429d41e24437536907af1e6b73197ecf3f6db (diff)
downloadffmpeg-53d2b69b72b0bac919f3083298d3ad914ea86735.tar.gz
Merge commit 'd84429d41e24437536907af1e6b73197ecf3f6db'
* commit 'd84429d41e24437536907af1e6b73197ecf3f6db': dnxhd: Print unknown header when found Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dnxhddec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index af28218fb9..a1376d303c 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -129,7 +129,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
}
if (memcmp(buf, header_prefix, 5) && memcmp(buf, header_prefix444, 5)) {
- av_log(ctx->avctx, AV_LOG_ERROR, "error in header\n");
+ av_log(ctx->avctx, AV_LOG_ERROR,
+ "unknown header 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X\n",
+ buf[0], buf[1], buf[2], buf[3], buf[4]);
return AVERROR_INVALIDDATA;
}
if (buf[5] & 2) { /* interlaced */