aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-14 22:07:56 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-18 21:50:52 +0200
commite1836b191b8ce956bebf050e664975f2e0f92325 (patch)
tree343c6191189e87fb9ce11e6f40ff578f85ec0774 /libavdevice/v4l2.c
parent3ccfd27f1d0a67114baf6f9afd6353214d041fd7 (diff)
downloadffmpeg-e1836b191b8ce956bebf050e664975f2e0f92325.tar.gz
avcodec/libavcodec.v: Tighten export whitelist
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 into a shared libavcodec.so. Solve this by tightening the whitelist to "av_", "avcodec_", "avpriv_" and (as a special-case) "avsubtitle_free". Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/v4l2.c')
0 files changed, 0 insertions, 0 deletions