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/resample2.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/resample2.c')
-rw-r--r-- | libavcodec/resample2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c index 79e6279ff0..c6e5c48c1b 100644 --- a/libavcodec/resample2.c +++ b/libavcodec/resample2.c @@ -29,6 +29,8 @@ #include "dsputil.h" #include "libavutil/common.h" +#if FF_API_AVCODEC_RESAMPLE + #ifndef CONFIG_RESAMPLE_HP #define FILTER_SHIFT 15 @@ -319,3 +321,5 @@ av_log(NULL, AV_LOG_DEBUG, "%d %d %d\n", c->dst_incr, c->ideal_dst_incr, c->comp return dst_index; } + +#endif |