[FFmpeg-devel] duplicate symbol '_dec_init' in: fftools/ffmpeg_dec.o

Timo Rothenpieler timo at rothenpieler.org
Sun Mar 17 14:10:28 EET 2024


On 17.03.2024 09:05, Gnattu OC via ffmpeg-devel wrote:
> Can you try to change the `BD_PRIVATE` to `__attribute__((visibility("hidden")))` in the line defines `dec_init` src/libbluray/disc/dec.h then recompile libbluray to see if it fixes the linking issue?

It only breaks when statically linking. The symbol is not exported by libbr.
Just rename it with a define in CPPFLAGS and call it a day until they 
fix it in libbr.



More information about the ffmpeg-devel mailing list