summaryrefslogtreecommitdiff
path: root/libavcodec/resample2.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-05 07:25:56 +0200
committerAnton Khirnov <anton@khirnov.net>2012-10-05 13:47:56 +0200
commit30223b3bf2ab1c55499d3d52a244221d24fcc784 (patch)
treef076302ecfad37b04d874d60cbbb4f32115d28a5 /libavcodec/resample2.c
parentf6f7d1504134683c435e2c7d804279d982e52bb4 (diff)
downloadffmpeg-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.c4
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