build: don't depend on both libavresample and libswresample

When both libavresample and libswresample were detected, the script
enabled both at the same time. This is not supported; although nothing
bad happened apparently. Make the dependencies both mutually exclusive.
This commit is contained in:
wm4 2014-01-05 23:27:14 +01:00
parent 33c4920967
commit e6c184e2b1
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks))
'name': '--libswresample',
'desc': 'libswresample',
'func': check_pkg_config('libswresample', '>= 0.17.102'),
'deps_neg': ['libavresample'],
}, {
'name': 'resampler',
'desc': 'usable resampler found',