[FFmpeg-trac] #11491(avcodec:new): n7.1.1 fails to build with some options (but not on master), backport needed
FFmpeg
trac at avcodec.org
Tue Mar 4 12:11:16 EET 2025
#11491: n7.1.1 fails to build with some options (but not on master), backport
needed
---------------------------------+----------------------------------
Reporter: rinsuki | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: 7.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------
Summary of the bug:
If you tried to enable only some H.264-related things, it will fail to
link by this error:
{{{
LD ffprobe_g
/usr/bin/ld: libavcodec/libavcodec.a(h2645_sei.o): in function
`ff_h2645_sei_reset':
/ffmpeg/libavcodec/h2645_sei.c:935: undefined reference to
`ff_aom_uninit_film_grain_params'
collect2: error: ld returned 1 exit status
}}}
and it will be fixed by cherry-pick
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/7aeae8d1ae846302ba1e9955cf64fe83f02b7a57
to n7.1.1 tag (probably forgot to cherry-pick to 7.1 branch?).
How to reproduce:
on Debian 12,
{{{
$ ./configure \
--disable-everything --disable-runtime-cpudetect --disable-network
--disable-pthreads --disable-v4l2-m2m --disable-avdevice --disable-doc \
--enable-decoder=h264 --enable-parser=h264 \
--enable-bsf=h264_metadata --enable-bsf=h264_mp4toannexb --enable-
bsf=h264_redundant_pps
$ make
}}}
(some options are might be not needed to reproduce it, but error can be
reproducible with this config)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11491>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list