Commit 74ff94d3 authored by malenov's avatar malenov
Browse files

remove unsued variable in swb_bwe_enc_lr.c

parent 643cfd90
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -66,11 +66,15 @@ static int16_t GetSubbandCorrIndex2_har(
    int16_t bestIdx, i, j;
    float corr, energy, corr_sq;
    float lagCorr_sq, lagEnergy, eOld;
#ifndef FIX_506
    int16_t absPos;
#endif
    int16_t N1, N2;


#ifndef FIX_506
    absPos = 0;
#endif
    bestIdx = 0;
    lagCorr_sq = 0.0f;
    lagEnergy = 1e30f;
@@ -130,7 +134,9 @@ static int16_t GetSubbandCorrIndex2_har(
        }

        predBuf++;
#ifndef FIX_506
        absPos++;
#endif
    }

    if ( lagCorr_sq == 0.0f && *prev_frame_bstindx < 0 )