Browse Source

Merge commit 'b2417ee6d1ee0c5e9b170a642d73bdf68908966f'

* commit 'b2417ee6d1ee0c5e9b170a642d73bdf68908966f':
  dxv: Improve error message

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
tags/n3.0
Hendrik Leppkes 10 years ago
parent
commit
9c3c8d2c56
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/dxv.c

+ 2
- 1
libavcodec/dxv.c 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;
}


Loading…
Cancel
Save