[FFmpeg-devel] [PATCH v2 09/14] avcodec/videotoolbox: add logging context to log

Steven Liu lq at chinaffmpeg.org
Wed Oct 2 09:58:10 EEST 2019


Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 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;
     }
 
-- 
2.15.1





More information about the ffmpeg-devel mailing list