From 4aa391388a67fb636e8127924274b00ec380e245 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Mon, 30 Sep 2019 15:04:41 +0800 Subject: avcodec/videotoolbox: add logging context to log Signed-off-by: Steven Liu --- libavcodec/videotoolbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/videotoolbox.c') 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; } -- cgit v1.2.3