diff --git a/lib_com/options.h b/lib_com/options.h index 12b2cc0a6ad8b8dd85f1e7772db3b3be0925c484..db944f93de577fcdbbe710b798742da2d65f1f53 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -110,6 +110,7 @@ #define FIX_1562_DTX_CRASH_DECODER /* VA: float issue 1562: fix crash in stereo decoding in DTX and bitrate switching */ #define FIX_BASOP_2498_LOGIC_IN_ENC_DTX_DECISION_MTX /* Nokia: BASOP 2498: Fix the logic */ #define FIX_BASOP_2497_MCMASA_LFE_WRONG_SF_INDEX /* Nokia: BASOP 2497: Fix wrong subframe index in McMASA LFE synth. */ +#define FIX_BASOP_2496_OMASA_OBJ_EDIT_WRONG_ASSIGN /* Nokia: BASOP 2496: Fix wrong assignment in OMASA object edit code */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_rend/ivas_dirac_dec_binaural_functions_fx.c b/lib_rend/ivas_dirac_dec_binaural_functions_fx.c index fca856c60de4dcd83777234a80ea6fba9991e0a6..de0877bf7850da35dea7845bdce70de05b460418 100644 --- a/lib_rend/ivas_dirac_dec_binaural_functions_fx.c +++ b/lib_rend/ivas_dirac_dec_binaural_functions_fx.c @@ -5956,7 +5956,11 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx( ELSE { newRatios[0] = L_shr( newRatios[0], 6 ); // Q = 30 + 9 + 1 - 16 = 24 +#ifdef FIX_BASOP_2496_OMASA_OBJ_EDIT_WRONG_ASSIGN + newRatios[1] = L_shr( newRatios[1], 6 ); +#else newRatios[1] = L_shr( newRatios[0], 6 ); +#endif move32(); move32(); }