diff options
author | Jonathan Lennox <jonathan@vidyo.com> | 2015-11-03 08:47:43 +0300 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2015-11-03 12:20:50 +0300 |
commit | 911ddc0c58b67c9a8d5d1272040b0b9df5e6a782 (patch) | |
tree | 00448e384cb1d2713633f57c314291ed7f832cf4 /celt | |
parent | 19677f6b060aa895cb254c04ef8432f1e1d25a1f (diff) |
Suppress generation of comb_filter_const_c when not used; avoid warning.
Diffstat (limited to 'celt')
-rw-r--r-- | celt/celt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/celt.c b/celt/celt.c index 40c62ce5..b121c51a 100644 --- a/celt/celt.c +++ b/celt/celt.c @@ -89,6 +89,7 @@ int resampling_factor(opus_int32 rate) return ret; } +#if !defined(OVERRIDE_COMB_FILTER_CONST) || defined(NON_STATIC_COMB_FILTER_CONST_C) /* This version should be faster on ARM */ #ifdef OPUS_ARM_ASM #ifndef NON_STATIC_COMB_FILTER_CONST_C @@ -176,6 +177,7 @@ void comb_filter_const_c(opus_val32 *y, opus_val32 *x, int T, int N, } #endif +#endif #ifndef OVERRIDE_comb_filter void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, |