Commit 39db9a72 authored by vaclav's avatar vaclav
Browse files

- Merge remote-tracking branch 'remotes/origin/main' into...

- Merge remote-tracking branch 'remotes/origin/main' into basop-2488-negative-pitch-observed-in-certain-cases-for-intfs-32000
parents ca93b265 fdf639fa
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@

#define FIX_BASOP_2451_HQ_FEC_SELECTOR                  /* Eri: Resolve basop issue 2451, wrong condition on env_stab_plc_fx */
#define FIX_2398_PRECISSION_ORIENTATION_TRACKING        /* FhG: use refinement of Sqrt32 within certain functions*/
#define FIX_1543_MID_LSF_BITS                           /* VA: float issue 1543: Resolve "MSAN: use-of-uninitialized-value in lib_enc/lsf_enc.c:262:5 for EVS encoder" */
#define FIX_2488_PREVENT_NEG_PITCH                      /* VA: Fix for 2488, use saturation to prevent possible wrap-around, thus negative pitch values */


+4 −0
Original line number Diff line number Diff line
@@ -553,6 +553,10 @@ ivas_error acelp_core_enc_fx(
        move16();
        uc_two_stage_flag = 0;
        move16();
#ifdef FIX_1543_MID_LSF_BITS
        st->acelp_cfg.mid_lsf_bits = -1;
        move16();
#endif

        test();
        IF( !nelp_mode && !ppp_mode )