[FFmpeg-cvslog] avcodec/videotoolbox: add logging context to log

Steven Liu git at videolan.org
Tue Oct 8 08:48:25 EEST 2019


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Mon Sep 30 15:04:41 2019 +0800| [4aa391388a67fb636e8127924274b00ec380e245] | committer: Steven Liu

avcodec/videotoolbox: add logging context to log

Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

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

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

diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index e9b3370169..8773de3393 100644
--- a/libavcodec/videotoolbox.c
+++ b/libavcodec/videotoolbox.c
@@ -617,7 +617,7 @@ static void videotoolbox_decoder_callback(void *opaque,
     }
 
     if (!image_buffer) {
-        av_log(NULL, AV_LOG_DEBUG, "vt decoder cb: output image buffer is null\n");
+        av_log(avctx, AV_LOG_DEBUG, "vt decoder cb: output image buffer is null\n");
         return;
     }
 



More information about the ffmpeg-cvslog mailing list