Commit d208b42c authored by Manuel Jander's avatar Manuel Jander
Browse files

Avoid rescaling uninitialized data (consequence of FIX_2344_ALIGN_PREPROC)

parent c344650a
Loading
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -672,10 +672,13 @@ ivas_error pre_proc_ivas_fx(
        move16();

#ifdef NONBE_FIX_ISSUE_2206
        IF( ( EQ_32( sr_core_tmp, INT_FS_16k ) && NE_16( element_mode, IVAS_CPE_MDCT ) ) || ( GT_32( sr_core_tmp, INT_FS_16k ) ) )
        {
            shift = norm_arr( new_inp_resamp16k_fx, L_FRAME16k );
            Scale_sig( new_inp_resamp16k_fx, L_FRAME16k, shift );
            *q_new_inp_resamp16k_fx = add( Q_old_inp_16k, shift );
            move16();
        }
#endif
#ifndef FIX_2344_ALIGN_PREPROC
        IF( error != IVAS_ERR_OK )