From 56085e057ff2d2da180a5d56bdd1efd70d53e662 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 26 Sep 2023 12:39:24 +0200 Subject: [PATCH] avcodec/vlc: use logctx instead of NULL --- libavcodec/vlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vlc.c b/libavcodec/vlc.c index dc8863855e..8beab9a0a2 100644 --- a/libavcodec/vlc.c +++ b/libavcodec/vlc.c @@ -421,7 +421,7 @@ static int vlc_multi_gen(VLC_MULTI_ELEM *table, const VLC *single, add_level(table, nb_elems, nb_codes, numbits, buf, 0, 0, FFMIN(maxbits, numbits), 0, minbits, max, count, &info); - av_log(NULL, AV_LOG_DEBUG, "Joint: %d/%d/%d/%d/%d codes min=%ubits max=%u\n", + av_log(logctx, AV_LOG_DEBUG, "Joint: %d/%d/%d/%d/%d codes min=%ubits max=%u\n", count[0], count[1], count[2], count[3], count[4], minbits, max); return 0;