Commit ff7a8064 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix asan error

parent bf1bf047
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1155,6 +1155,7 @@ void TonalMdctConceal_whiten_noise_shape(
    float *noiseLevelPtr, *scfs_bg, *scfs_for_shaping;
    PsychoacousticParameters **psychParams;
    HANDLE_FD_CNG_COM hFdCngCom;
    float scfs_int[FDNS_NPTS];

    wmops_sub_start( "apply_sns_on_noise_shape" );

@@ -1176,7 +1177,6 @@ void TonalMdctConceal_whiten_noise_shape(
    if ( whitening_mode == ON_FIRST_LOST_FRAME )
    {
        float scf[SNS_NPTS];
        float scfs_int[FDNS_NPTS];

        sns_compute_scf( whitenend_noise_shape, *psychParams, L_frame, scf );
        sns_interpolate_scalefactors( scfs_int, scf, ENC );