Commit d3e828a2 authored by vaclav's avatar vaclav
Browse files

revert initialization

parent ff84b4b1
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -579,8 +579,12 @@ Word16 GetPLCModeDecision_fx(
                        pitch = L_add( st->old_fpitch, 0 ); /*Q16*/
                    }

                    TonalMDCTConceal_Detect( st->hTonalMDCTConc, pitch, &numIndices, st->element_mode,
                                             ( st->element_mode == IVAS_CPE_MDCT ? &( st->hTcxCfg->psychParamsTCX20 ) : st->hTcxCfg->psychParamsCurrent ) );
                    TonalMDCTConceal_Detect( st->hTonalMDCTConc, pitch, &numIndices, st->element_mode
#ifdef IVAS_CODE_MDCT_GSHAPE
                                             ,
                                             ( st->element_mode == IVAS_CPE_MDCT ? &( st->hTcxCfg->psychParamsTCX20 ) : st->hTcxCfg->psychParamsCurrent )
#endif
                    );

                    test();
                    test();
+2 −0
Original line number Diff line number Diff line
@@ -480,6 +480,8 @@ ivas_error ivas_core_dec_fx(
         * HQ core decoding
         *---------------------------------------------------------------------*/

        set16_fx( output_16_fx[n], 0, L_FRAME48k ); /* this is needed for instances like L_norm_arr( p_output_fx[i], L_FRAME48k ) */

        IF( st->core == ACELP_CORE )
        {
            /* ACELP core decoder */
+1 −1
Original line number Diff line number Diff line
@@ -409,7 +409,7 @@ ivas_error ivas_jbm_dec_tc_fx(
                move16();
                FOR( i = 0; i < 2; i++ )
                {
                    s = s_min( s, L_norm_arr( p_output_fx[i], L_FRAME48k ) - 11 ) /* Guard bits */;
                    s = s_min( s, L_norm_arr( p_output_fx[i], L_FRAME48k ) - 11 ) /* Guard bits */; // L_frame should be used instead of L_FRAME48k */
                }
                FOR( i = 0; i < 2; i++ )
                {