Re: [FFmpeg-devel] [PATCH 17/17] avcodec/libavcodec.v: Tighten export whitelist

2021-06-15 Thread Michael Niedermayer
On Tue, Jun 15, 2021 at 12:41:33AM +0200, Andreas Rheinhardt wrote: > Currently every symbol (with external linkage) that starts with "av" is > exported. Yet libaom-av1 has lots of functions that are not meant to be > exported and start with "av1_" (I counted 1236); and libvpx has >

[FFmpeg-devel] [PATCH 17/17] avcodec/libavcodec.v: Tighten export whitelist

2021-06-14 Thread Andreas Rheinhardt
Currently every symbol (with external linkage) that starts with "av" is exported. Yet libaom-av1 has lots of functions that are not meant to be exported and start with "av1_" (I counted 1236); and libvpx has average_split_mvs. These functions are exported if one links these libraries statically