#11518 closed defect (fixed)

Missing ff_tlog due to Commit 0978fea7fa78782377c8b537969f4df1773d82ac

Reported by: QFox Owned by: Timo Rothenpieler <timo@rothenpieler.org>
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by QFox)

Summary of the bug: In Commit 0978fea7fa78782377c8b537969f4df1773d82ac, ff_tlog was used to reduce debug logging, in following configuration, the build failed. Reverted the commit and the build would work.

configure 
   --cross-prefix=x86_64-w64-mingw32- 
   --prefix=/home/user/mpv-winbuild-cmake/build64/x86_64_v3-w64-mingw32 
   --arch=x86_64 
   --target-os=mingw32 
   --pkg-config-flags=--static 
   --nvccflags='-O3' 
   --disable-ptx-compression 
   --disable-filters 
   --enable-filter=scale2ref 
   --enable-filter=scale_cuda 
   --enable-filter=scale 
   --enable-filter=bwdif_cuda 
   --enable-filter=bwdif 
   --enable-filter=yadif_cuda 
   --enable-filter=yadif 
   --disable-muxers 
   --disable-encoders 
   --disable-debug 
   --disable-programs 
   --enable-cross-compile 
   --enable-runtime-cpudetect 
   --enable-hardcoded-tables 
   --enable-gpl 
   --enable-version3 
   --enable-postproc 
   --enable-avisynth 
   --enable-libass 
   --enable-libbluray 
   --enable-libdvdnav 
   --enable-libdvdread 
   --enable-libfreetype 
   --enable-libfribidi 
   --enable-libfontconfig 
   --enable-libharfbuzz 
   --enable-libmp3lame 
   --enable-lcms2 
   --enable-libopus 
   --enable-libsoxr 
   --enable-libvorbis 
   --enable-libvpx 
   --enable-libwebp 
   --enable-libx264 
   --enable-libx265 
   --enable-libsvtav1 
   --enable-libdav1d 
   --enable-libxvid 
   --enable-libzimg 
   --enable-openssl 
   --enable-libxml2 
   --enable-libmysofa 
   --enable-libssh 
   --enable-libsrt 
   --enable-libvpl 
   --enable-libplacebo 
   --enable-libshaderc 
   --enable-cuda-llvm
   --enable-cuvid
   --enable-nvdec
   --enable-nvenc 
   --enable-amf 
   --disable-doc 
   --disable-ffplay 
   --disable-ffprobe 
   --disable-vaapi 
   --disable-vdpau 
   --disable-videotoolbox 
   --disable-decoder=libaom_av1,aac_fixed,ac3_fixed 
   --extra-cflags='-Wno-error=int-conversion' 
   --extra-libs='-lc++'

The error:

In file included from src/libavcodec/tableprint_vlc.h:40,
                 from src/libavcodec/qdm2_tablegen.c:24:
src/libavcodec/vlc.c: In function ‘build_table’:
src/libavcodec/vlc.c:158:9: error: implicit declaration of function ‘ff_tlog’; did you mean ‘ff_dlog’? [-Wimplicit-function-declaration]
  158 |         ff_tlog(NULL, "i=%d n=%d code=0x%"PRIx32"\n", i, n, code);
      |         ^~~~~~~
      |         ff_dlog


Change History (3)

comment:1 by QFox, 18 months ago

Description: modified (diff)

comment:2 by QFox, 18 months ago

Description: modified (diff)

comment:3 by Timo Rothenpieler <timo@rothenpieler.org>, 18 months ago

Owner: set to Timo Rothenpieler <timo@rothenpieler.org>
Resolution: fixed
Status: newclosed

In 2de14c3e/ffmpeg:

avcodec/tableprint_vlc: fix build with --enable-hardcoded-tables

Fixes #11518

Note: See TracTickets for help on using tickets.