oops, removed a minus sign that should never have appeared
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 24 May 2013 05:38:06 +0000 (01:38 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 24 May 2013 05:38:06 +0000 (01:38 -0400)
celt/pitch.c

index 7213606..5e68115 100644 (file)
@@ -180,7 +180,7 @@ static void pitch_xcorr(opus_val16 *x, opus_val16 *y, opus_val32 *xcorr, int len
 {
    int i, j;
 #ifdef FIXED_POINT
-   opus_val32 maxcorr=-1;
+   opus_val32 maxcorr=1;
 #endif
    for (i=0;i<max_pitch;i++)
    {
@@ -207,7 +207,7 @@ static void pitch_xcorr(opus_val16 *_x, opus_val16 *_y, opus_val32 *xcorr, int l
 {
    int i,j;
 #ifdef FIXED_POINT
-   opus_val32 maxcorr=-1;
+   opus_val32 maxcorr=1;
 #endif
    for (i=0;i<max_pitch;i+=4)
    {