[FFmpeg-devel] Visibility implementation

matthieu castet castet.matthieu
Wed Jul 30 08:16:10 CEST 2008


Uoti Urpala wrote:

> In my test compilation this patch lowered the amount of public symbols
> in libavcodec.so that are exported for use by external programs from
> 1100 to 378 (counted with "nm -D libavcodec.so | grep -c '^[^ ]'"). Even
> though I didn't add HIDDEN macros to the various xxx_decoder,
> xxx_encoder etc definitions referring to them as external hidden symbols
> in allcodecs.o seems to be enough to prevent the linker from making them
> publicly available in the final library.
> 
But your point was your method allow compiler optimisation.
Did you see any code change with your attribute patch ?


Matthieu




More information about the ffmpeg-devel mailing list