diff options
Diffstat (limited to 'src/combined/ffmpeg/ffmpeg_compat.h')
-rw-r--r-- | src/combined/ffmpeg/ffmpeg_compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ffmpeg_compat.h b/src/combined/ffmpeg/ffmpeg_compat.h index 0acead897..b567dc177 100644 --- a/src/combined/ffmpeg/ffmpeg_compat.h +++ b/src/combined/ffmpeg/ffmpeg_compat.h @@ -94,7 +94,9 @@ #endif /* avcodec_decode_audio() */ -#if LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 32) +#if LIBAVCODEC_VERSION_MAJOR >= 54 +# define AVAUDIO 4 +#elif LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 32) # define AVAUDIO 3 #else # define AVAUDIO 2 |