diff options
author | wm4 <wm4@nowhere> | 2013-01-31 17:41:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-31 17:42:21 +0100 |
commit | 4a2e4b684a6f0a20578c73b76b8a2f300610acae (patch) | |
tree | ef86674b550c7523675103c332f133f4ba704a64 /video/fmt-conversion.c | |
parent | d4246353df6470e24d870dab8532a905e853601e (diff) | |
download | mpv-4a2e4b684a6f0a20578c73b76b8a2f300610acae.tar.bz2 mpv-4a2e4b684a6f0a20578c73b76b8a2f300610acae.tar.xz |
build: make it work on somewhat older ffmpeg versions
Tested with n0.10.4. All these version checks are rather tricky,
because Libav and FFmpeg change the same thing at slightly different
versions.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index b37bd6c441..a98dc97d51 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -133,7 +133,7 @@ static const struct { #endif // ffmpeg only -#if LIBAVUTIL_VERSION_MICRO >= 100 +#if LIBAVUTIL_VERSION_MICRO >= 100 && LIBAVUTIL_VERSION_INT > AV_VERSION_INT(52, 0, 0) {IMGFMT_420P12_LE, PIX_FMT_YUV420P12LE}, {IMGFMT_420P12_BE, PIX_FMT_YUV420P12BE}, {IMGFMT_420P14_LE, PIX_FMT_YUV420P14LE}, |