diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-14 22:15:09 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-14 22:15:09 +0400 |
commit | 0c51010c67f70fa901b74d941c041f06df50201a (patch) | |
tree | 680741d3791427cd303cd9d6537972c1712ae13e /intern | |
parent | 8fd6879b88273ded24ab647ee76a116efb4a18c2 (diff) |
Fix video FFmpeg nt being able to produce video files due to usage of deprecated settings
Diffstat (limited to 'intern')
-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 82240c7cb4f..ac4da5b6133 100644 --- a/intern/ffmpeg/ffmpeg_compat.h +++ b/intern/ffmpeg/ffmpeg_compat.h @@ -442,4 +442,8 @@ AVRational av_get_r_frame_rate_compat(const AVStream *stream) # define AV_OPT_SEARCH_FAKE_OBJ 0 #endif +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100) +# define FFMPEG_HAVE_DEPRECATED_FLAGS2 +#endif + #endif |