Skip to content

Commit 1c37085

Browse files
committed
Forgot one wraparound to ignore
1 parent e6dd7a3 commit 1c37085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

silk/NSQ.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ void silk_noise_shape_quantizer(
348348
/* Update states */
349349
psLPC_Q14++;
350350
*psLPC_Q14 = xq_Q14;
351-
NSQ->sDiff_shp_Q14 = silk_SUB_LSHIFT32( xq_Q14, x_sc_Q10[ i ], 4 );
351+
NSQ->sDiff_shp_Q14 = silk_SUB32_ovflw( xq_Q14, silk_LSHIFT32( x_sc_Q10[ i ], 4 ) );
352352
sLF_AR_shp_Q14 = silk_SUB32_ovflw( NSQ->sDiff_shp_Q14, silk_LSHIFT32( n_AR_Q12, 2 ) );
353353
NSQ->sLF_AR_shp_Q14 = sLF_AR_shp_Q14;
354354

0 commit comments

Comments
 (0)