Fix video FFmpeg nt being able to produce video files due to usage of deprecated settings

This commit is contained in:
Sergey Sharybin
2014-04-15 00:15:09 +06:00
parent 8fd6879b88
commit 0c51010c67
2 changed files with 15 additions and 5 deletions

View File

@@ -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