avcodec/vlc: use logctx instead of NULL

pull/390/head
Paul B Mahol 1 year ago
parent 768704b640
commit 56085e057f
  1. 2
      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;

Loading…
Cancel
Save