[FFmpeg-cvslog] avcodec/vlc: use logctx instead of NULL

Paul B Mahol git at videolan.org
Tue Sep 26 13:46:40 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Sep 26 12:39:24 2023 +0200| [56085e057ff2d2da180a5d56bdd1efd70d53e662] | committer: Paul B Mahol

avcodec/vlc: use logctx instead of NULL

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

 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;



More information about the ffmpeg-cvslog mailing list