diff options
author | Peter Schlaile <peter@schlaile.de> | 2011-05-28 04:07:33 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2011-05-28 04:07:33 +0400 |
commit | 3ca0bfdd6677f870acca9fa87cf5232e8f3afb13 (patch) | |
tree | 57a339e97c4d8fba339aedfd08056917d05a2edf | |
parent | ac034e17324e1ea297502094d9f6a337e9f86e3d (diff) |
== FFMPEG ==
Small fix for a very old bug in swscaler color space support detection.
-rw-r--r-- | intern/ffmpeg/ffmpeg_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h index 834df3d7055..06e170837d1 100644 --- a/intern/ffmpeg/ffmpeg_compat.h +++ b/intern/ffmpeg/ffmpeg_compat.h @@ -61,8 +61,8 @@ #define FFMPEG_HAVE_AVMEDIA_TYPES 1 #endif -#if (LIBAVCODEC_VERSION_MAJOR >= 52) && (LIBAVCODEC_VERSION_MINOR >= 29) && \ - (LIBSWSCALE_VERSION_MAJOR >= 0) && (LIBSWSCALE_VERSION_MINOR >= 10) +#if ((LIBAVCODEC_VERSION_MAJOR > 52) || (LIBAVCODEC_VERSION_MAJOR >= 52) && (LIBAVCODEC_VERSION_MINOR >= 29)) && \ + ((LIBSWSCALE_VERSION_MAJOR > 0) || (LIBSWSCALE_VERSION_MAJOR >= 0) && (LIBSWSCALE_VERSION_MINOR >= 10)) #define FFMPEG_SWSCALE_COLOR_SPACE_SUPPORT #endif |