Commit 980f808b authored by vaclav's avatar vaclav
Browse files

fix MSAN errors

parent e3555e5e
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -630,9 +630,11 @@ ivas_error core_switching_post_dec_fx(
                }
#ifdef FIX_2280_REDUCTION_UNNECESSARY_SCALING2
                Word16 output_mem_fx[NS2SA( 48000, STEREO_DFT32MS_OVL_NS )];

                IF( output_mem_fx32 != NULL )
                {
                    Copy_Scale_sig_32_16( output_mem_fx32, output_mem_fx, NS2SA_FX2( st_fx->output_Fs, STEREO_DFT32MS_OVL_NS ), -Q11 ); // Q(q_output_mem_fx-11)
                    Scale_sig( output_mem_fx, NS2SA_FX2( st_fx->output_Fs, STEREO_DFT32MS_OVL_NS ), Qtmp );                             /* Qtmp */
                }
#else
                IF( output_mem_fx != NULL )
                {
+1 −2
Original line number Diff line number Diff line
@@ -903,8 +903,7 @@ void stereo_tcx_core_dec_fx(
    }

#ifdef FIX_2280_REDUCTION_UNNECESSARY_SCALING
    Word16 output_frame = extract_l( Mpy_32_16_1( st->output_Fs, INV_FRAME_PER_SEC_Q15 ) );
    Copy_Scale_sig_16_32_DEPREC( signal_out_fx, signal_out_32_fx, output_frame, sub( Q11, st->Q_syn_factor ) );
    Copy_Scale_sig_16_32_DEPREC( signal_out_fx, signal_out_32_fx, st->L_frame, sub( Q11, st->Q_syn_factor ) );
#endif

    pop_wmops();