#11491 closed defect (fixed)

n7.1.1 fails to build with some options (but not on master), backport needed

Reported by: rinsuki Owned by:
Priority: normal Component: avcodec
Version: 7.1 Keywords:
Cc: rinsuki Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by rinsuki)

Summary of the bug:

If you tried to build FFmpeg with only enable 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)

Change History (2)

comment:1 by rinsuki, 21 months ago

Description: modified (diff)

comment:2 by James, 20 months ago

Resolution: → fixed
Status: new → closed

Cherry picked to release/7.1 branch as 276bd388f33b5071799691aee6e0cd99c7133d61, to be included in 7.1.2

Note: See TracTickets for help on using tickets.