diff options
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 38186121ca..3a3cd13dfe 100644 --- a/libavcodec/resample2.c +++ b/libavcodec/resample2.c @@ -30,6 +30,8 @@ #include "dsputil.h" #include "libavutil/common.h" +#if FF_API_AVCODEC_RESAMPLE + #ifndef CONFIG_RESAMPLE_HP #define FILTER_SHIFT 15 @@ -321,3 +323,5 @@ av_log(NULL, AV_LOG_DEBUG, "%d %d %d\n", c->dst_incr, c->ideal_dst_incr, c->comp return dst_index; } + +#endif |