aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvdec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 22:19:09 +0200
committerClément Bœsch <u@pkh.me>2017-03-27 22:19:09 +0200
commite59a4d1df75f834dd0993f491d532eac651d6eee (patch)
tree60951e5b6cb6cb46912965830445274720def4a1 /libavcodec/qsvdec.c
parentfa85d8dbb43e2e84e1fbb9d41c712b2960e17a32 (diff)
parent801ac7156d3efb8e088fb6024f568eb36a293887 (diff)
downloadffmpeg-e59a4d1df75f834dd0993f491d532eac651d6eee.tar.gz
Merge commit '801ac7156d3efb8e088fb6024f568eb36a293887'
* commit '801ac7156d3efb8e088fb6024f568eb36a293887': qsv: Be informative when reporting that no data has been consumed Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/qsvdec.c')
-rw-r--r--libavcodec/qsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index dc9db2fafb..7d496d9a07 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -322,7 +322,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;
}