ffmpeg: Bump supported minimums lower for libav 9.20

We need to support this because Ubuntu 14.04 ships with this
version, and has no "backports" option to bring in a newer version
(without use of a PPA or compiling it yourself).

We can consider raising the minimums again once Trusty is EOL.
This commit is contained in:
Sam Edwards 2018-03-31 05:22:04 -06:00
parent bb6e0abeba
commit fadbcd91e5
1 changed files with 9 additions and 6 deletions

View File

@ -30,16 +30,19 @@ extern "C" {
#error Buildsystem error: BUILDING_FFMPEG not defined
#endif
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 86, 100)
#error Minimum supported version of libavcodec is 54.86.100.
// Minimum supported versions:
// FFmpeg: 1.1
// libav: 9.20 (for Ubuntu 14.04)
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 35, 1)
#error Minimum supported version of libavcodec is 54.35.1.
#endif
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(54, 59, 106)
#error Minimum supported version of libavformat is 54.59.106.
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(54, 20, 4)
#error Minimum supported version of libavformat is 54.20.4.
#endif
#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(52, 13, 100)
#error Minimum supported version of libavutil is 52.13.100.
#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(52, 3, 0)
#error Minimum supported version of libavutil is 52.3.0.
#endif
ConfigureDef(config_ffmpeg);