Jonathan Lennox
2015-Nov-03 05:47 UTC
[opus] [PATCH] Suppress generation of comb_filter_const_c when not used; avoid warning.
--- celt/celt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/celt/celt.c b/celt/celt.c index 40c62ce..b121c51 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, -- 2.4.9 (Apple Git-60)