[FFmpeg-cvslog] Merge commit '801ac7156d3efb8e088fb6024f568eb36a293887'

Clément Bœsch git at videolan.org
Mon Mar 27 23:20:38 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Mar 27 22:19:09 2017 +0200| [e59a4d1df75f834dd0993f491d532eac651d6eee] | committer: Clément Bœsch

Merge commit '801ac7156d3efb8e088fb6024f568eb36a293887'

* commit '801ac7156d3efb8e088fb6024f568eb36a293887':
  qsv: Be informative when reporting that no data has been consumed

Merged-by: Clément Bœsch <u at pkh.me>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e59a4d1df75f834dd0993f491d532eac651d6eee
---

 libavcodec/qsvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index dc9db2f..7d496d9 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;
     }
 


======================================================================




More information about the ffmpeg-cvslog mailing list