diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-10-29 17:00:20 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-10-30 21:55:03 +0100 |
commit | 801ac7156d3efb8e088fb6024f568eb36a293887 (patch) | |
tree | 6f18ab5668e1bda47a5006d73eded0dda64371dd /libavcodec | |
parent | 30015305f3b523ed7640f2c3c58b017140533c58 (diff) | |
download | ffmpeg-801ac7156d3efb8e088fb6024f568eb36a293887.tar.gz |
qsv: Be informative when reporting that no data has been consumed
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index e19eba5b52..81c63b1292 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -305,7 +305,7 @@ static int qsv_decode(AVCodecContext *avctx, QSVContext *q, /* make sure we do not enter an infinite loop if the SDK * did not consume any data and did not return anything */ if (!*sync && !bs.DataOffset) { - av_log(avctx, AV_LOG_WARNING, "A decode call did not consume any data\n"); + ff_qsv_print_warning(avctx, ret, "A decode call did not consume any data"); bs.DataOffset = avpkt->size; } |