diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-05 07:25:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-05 13:47:56 +0200 |
commit | 30223b3bf2ab1c55499d3d52a244221d24fcc784 (patch) | |
tree | f076302ecfad37b04d874d60cbbb4f32115d28a5 /libavcodec/resample.c | |
parent | f6f7d1504134683c435e2c7d804279d982e52bb4 (diff) | |
download | ffmpeg-30223b3bf2ab1c55499d3d52a244221d24fcc784.tar.gz |
lavc: deprecate the audio resampling API.
It has been superseded by lavr.
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index ca6a84da6e..20d7078113 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -32,6 +32,8 @@ #include "libavutil/mem.h" #include "libavutil/samplefmt.h" +#if FF_API_AVCODEC_RESAMPLE + #define MAX_CHANNELS 8 struct AVResampleContext; @@ -373,3 +375,5 @@ void audio_resample_close(ReSampleContext *s) av_audio_convert_free(s->convert_ctx[1]); av_free(s); } + +#endif |