shithub: opus

Download patch

ref: 020a0a48d5fdbfae76b2db26ad5d65c39efad6ad
parent: c95c9a048f3283afb2e412b10085d4f7c19e1412
author: Timothy B. Terriberry <[email protected]>
date: Fri Oct 3 17:11:51 EDT 2014

Fix build bustage from c95c9a048.

--- a/celt/celt_lpc.c
+++ b/celt/celt_lpc.c
@@ -114,6 +114,7 @@
    for(i=0;i<ord;i++)
       mem[i] = _x[N-i-1];
 #ifdef SMALL_FOOTPRINT
+   (void)arch;
    for (i=0;i<N;i++)
    {
       opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT);
@@ -154,6 +155,7 @@
 {
 #ifdef SMALL_FOOTPRINT
    int i,j;
+   (void)arch;
    for (i=0;i<N;i++)
    {
       opus_val32 sum = _x[i];
--- a/celt/pitch.h
+++ b/celt/pitch.h
@@ -193,7 +193,7 @@
 
 #  define celt_pitch_xcorr(_x, _y, xcorr, len, max_pitch, arch) \
   ((*CELT_PITCH_XCORR_IMPL[(arch)&OPUS_ARCHMASK])(_x, _y, \
-        xcorr, len, max_pitch, arch))
+        xcorr, len, max_pitch))
 # else
 #  define celt_pitch_xcorr(_x, _y, xcorr, len, max_pitch, arch) \
   ((void)(arch),celt_pitch_xcorr_c(_x, _y, xcorr, len, max_pitch, arch))