diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-24 19:34:57 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-24 19:34:57 +0400 |
commit | ae38adbf55c83f3c60eca533264f390fa64250b8 (patch) | |
tree | e33a6d036f8e6de9bf235fa5b89897576a178c26 /intern/ffmpeg | |
parent | e04f32a15354ce8e9912882c32cd05f63388de1b (diff) |
Blender should now compile fine with older FFmpeg libraries used.
Diffstat (limited to 'intern/ffmpeg')
-rw-r--r-- | intern/ffmpeg/ffmpeg_compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h index bb2c4f2d0a4..9dbbb46ce40 100644 --- a/intern/ffmpeg/ffmpeg_compat.h +++ b/intern/ffmpeg/ffmpeg_compat.h @@ -72,6 +72,10 @@ #define FFMPEG_SWSCALE_COLOR_SPACE_SUPPORT #endif +#if ((LIBAVUTIL_VERSION_MAJOR > 51) || (LIBAVUTIL_VERSION_MAJOR == 51) && (LIBAVUTIL_VERSION_MINOR >= 32)) +#define FFMPEG_FFV1_ALPHA_SUPPORTED +#endif + #ifndef FFMPEG_HAVE_AVIO #define AVIO_FLAG_WRITE URL_WRONLY #define avio_open url_fopen |