dxv: Improve error message

This commit is contained in:
Vittorio Giovara 2015-09-22 13:58:00 +02:00
parent 1bcd4a476b
commit b2417ee6d1
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}