diff options
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 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 |