diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-22 13:58:00 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-24 10:57:30 +0200 |
commit | b2417ee6d1ee0c5e9b170a642d73bdf68908966f (patch) | |
tree | 8ae5bc1f34531df886df3ef2a9c348ac0208176c /libavcodec/dxv.c | |
parent | 1bcd4a476ba45a7fdf59d1701b8f0e274418cc32 (diff) | |
download | ffmpeg-b2417ee6d1ee0c5e9b170a642d73bdf68908966f.tar.gz |
dxv: Improve error message
Diffstat (limited to 'libavcodec/dxv.c')
-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 3f060cb96b..32137f5392 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; } |