summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 8 insertions, 4 deletions
diff --git a/wscript b/wscript
index 4012fa1f7d..b44adc2ad4 100644
--- a/wscript
+++ b/wscript
@@ -412,10 +412,14 @@ FFmpeg libraries. Git master is recommended."
'desc': 'libavdevice',
'func': check_pkg_config('libavdevice', '>= 57.0.0'),
}, {
- 'name': '--ffmpeg-strict-abi',
- 'desc': 'Disable all known FFmpeg ABI violations',
- 'func': check_true,
- 'default': 'enable',
+ # The following should be removed in 2022 or if libavformat requirement
+ # is bumped to >= 59.8.100
+ 'name': 'ffmpeg-aviocontext-bytes-read',
+ 'desc': 'FFmpeg AVIOContext bytes_read statistic field',
+ 'deps': 'ffmpeg',
+ 'func': check_statement(['libavformat/avio.h'],
+ '(struct AVIOContext){ 0 }.bytes_read = 7357',
+ use=['ffmpeg']),
}
]