aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-10-31 10:38:10 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-03 13:13:24 +0100
commit5a6e6dcaa4d237257592fbe621fa9325ac860ba0 (patch)
tree5d56406124de8ca9bf9537d03f12ce34a04eca39 /libavcodec/version.h
parentcf49d5907aae5b7be4d0e3e30d12bf85a2fa87f3 (diff)
downloadffmpeg-5a6e6dcaa4d237257592fbe621fa9325ac860ba0.tar.gz
lavc: drop deprecated audio_convert API at the next major bump
Also make AVCODEC_RESAMPLE API removal depends on its presence, since its code depends on it as well. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r--libavcodec/version.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index ac3af67210..520a040a59 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -73,8 +73,11 @@
#ifndef FF_API_CODEC_ID
#define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
+#ifndef FF_API_AUDIO_CONVERT
+#define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 56)
+#endif
#ifndef FF_API_AVCODEC_RESAMPLE
-#define FF_API_AVCODEC_RESAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
+#define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
#endif
#ifndef FF_API_DEINTERLACE
#define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56)