diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-26 11:14:31 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-26 11:14:31 +0200 |
commit | 9c3c8d2c56027f2f6dd72daca76a78d309e3acf3 (patch) | |
tree | 10676b8c80671c1cbc69f2fd7a99e64fecdf58b7 | |
parent | b4ea8a7305214c0460e0ac951135aafcfa99d9e5 (diff) | |
parent | b2417ee6d1ee0c5e9b170a642d73bdf68908966f (diff) | |
download | ffmpeg-9c3c8d2c56027f2f6dd72daca76a78d309e3acf3.tar.gz |
Merge commit 'b2417ee6d1ee0c5e9b170a642d73bdf68908966f'
* commit 'b2417ee6d1ee0c5e9b170a642d73bdf68908966f':
dxv: Improve error message
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-rw-r--r-- | libavcodec/dxv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c index d0a79f4a6d..4fdfd65404 100644 --- a/libavcodec/dxv.c +++ b/libavcodec/dxv.c @@ -412,7 +412,8 @@ static int dxv_decode(AVCodecContext *avctx, void *data, msgcomp, msgtext, version_major, version_minor); if (size != bytestream2_get_bytes_left(gbc)) { - av_log(avctx, AV_LOG_ERROR, "Incomplete or invalid file (%u > %u)\n.", + av_log(avctx, AV_LOG_ERROR, + "Incomplete or invalid file (header %d, left %d).\n", size, bytestream2_get_bytes_left(gbc)); return AVERROR_INVALIDDATA; } |