diff options
author | wm4 <wm4@nowhere> | 2019-10-21 01:37:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-21 01:38:25 +0200 |
commit | 9565ff522b946489c43508444c5e04812d1bdbbb (patch) | |
tree | 57dac57fa965e3bb1628d14e167dedd3f0be9e2e /wscript | |
parent | 5dba244c226383f9f3b15b07dfa5133ad08b6497 (diff) | |
download | mpv-9565ff522b946489c43508444c5e04812d1bdbbb.tar.bz2 mpv-9565ff522b946489c43508444c5e04812d1bdbbb.tar.xz |
build: add --enable-ffmpeg-strict-abi option
This can be used by distros to disable all known FFmpeg ABI violations.
Currently only 1 is known, in demux_lavf.c. In addition to if-defing out
the access to the private FFmpeg field, this disables the possibly
fragile nested open callbacks, which make sense only if the
aforementioned field can be accessed.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -490,6 +490,10 @@ FFmpeg/Libav libraries. Git master is recommended." 'name': '--libavdevice', 'desc': 'libavdevice', 'func': check_pkg_config('libavdevice', '>= 57.0.0'), + }, { + 'name': '--ffmpeg-strict-abi', + 'desc': 'Disable all known FFmpeg ABI violations', + 'default': 'disable', } ] |