Commit 28db75dd authored by multrus's avatar multrus Committed by Sandesh Venkatesh
Browse files

proposed fix for issue 924

parent 9b6039c3
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@
#define FIX_879_DIFF_CONCEAL_PATH               /* FhG: Fix for issue 879 and different concelalment paths that led to crash */
#define FIX_907_MEM_UPDATE_ISSUE                /* VA: fix for 907, multiples issues surrounding mem_syn_r and update of mem_syn2 when FS is changing */
#define FIX_918_WRONG_SCALING_ON_MODE_SWITCHING   /* VA: Fix wrong scaling of secondary channel when switching from stereo DFT to TD */
#define FIX_924_IGF_ROUNDFX_SAT

/* ################## End DEVELOPMENT switches ######################### */

+4 −0
Original line number Diff line number Diff line
@@ -2488,7 +2488,11 @@ static void IGF_appl_ivas( IGF_DEC_PRIVATE_DATA_HANDLE hPrivateData, /**< in

            /* calc square root of L_tmp and store result in dN */
            L_tmp = Sqrt32( L_tmp, &L_tmp_e );
#ifdef FIX_924_IGF_ROUNDFX_SAT
            dN[sfb] = round_fx_sat( L_tmp );
#else
            dN[sfb] = round_fx( L_tmp );
#endif
            move16();
            dN_e[sfb] = L_tmp_e;
            move16();