shithub: opus

Download patch

ref: 911ddc0c58b67c9a8d5d1272040b0b9df5e6a782
parent: 19677f6b060aa895cb254c04ef8432f1e1d25a1f
author: Jonathan Lennox <[email protected]>
date: Tue Nov 3 09:47:43 EST 2015

Suppress generation of comb_filter_const_c when not used; avoid warning.

--- a/celt/celt.c
+++ b/celt/celt.c
@@ -89,6 +89,7 @@
    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
@@ -175,6 +176,7 @@
    }
 
 }
+#endif
 #endif
 
 #ifndef OVERRIDE_comb_filter