Commit 841eb83c authored by Fabian Bauer's avatar Fabian Bauer
Browse files

fix bug

parent 2847af4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ static Word16 GetSubbandCorrIndex2_har_fx( /* o :
                x has to be MAX_32 and y has to be 0
                So, a saturated overflow has occured if the result is MAX_32 and y is != 0
                THe case MIN_32 with negative x is not valid since x is calculated by square */
            Overflow = ( ( L_corr_sq == MAX_32 ) && ( exp_norm != 0 ) ) ? 1 : 0;
            Overflow = ( ( L_corr_sq == MAX_32 ) && ( exp_norm < 0 ) ) ? 1 : 0;
#else
            L_corr_sq = L_shr_o( L_corr_sq, s_min( shl( exp_norm, 1 ), 31 ), &Overflow ); /* (QCorr-16)*2+1 */
#endif