From ae38adbf55c83f3c60eca533264f390fa64250b8 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 24 Feb 2012 15:34:57 +0000 Subject: Blender should now compile fine with older FFmpeg libraries used. --- intern/ffmpeg/ffmpeg_compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intern/ffmpeg') 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 -- cgit v1.2.3