aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/audioconvert.c
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/audioconvert.c
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/audioconvert.c')
-rw-r--r--libavcodec/audioconvert.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/audioconvert.c b/libavcodec/audioconvert.c
index 5d8a3485e6..5e46fae2df 100644
--- a/libavcodec/audioconvert.c
+++ b/libavcodec/audioconvert.c
@@ -32,6 +32,8 @@
#include "avcodec.h"
#include "audioconvert.h"
+#if FF_API_AUDIO_CONVERT
+
struct AVAudioConvert {
int in_channels, out_channels;
int fmt_pair;
@@ -114,3 +116,5 @@ if(ctx->fmt_pair == ofmt + AV_SAMPLE_FMT_NB*ifmt){\
}
return 0;
}
+
+#endif /* FF_API_AUDIO_CONVERT */