From 92feb7f27ba7bee98876e3d817f06f8e3c57050e Mon Sep 17 00:00:00 2001 From: vaclav Date: Tue, 16 Jun 2026 11:20:11 +0200 Subject: [PATCH] FIX_2636_OMASA_INTERFORMAT_BRATE --- lib_com/ivas_omasa_com_fx.c | 4 ++++ lib_com/options.h | 1 + 2 files changed, 5 insertions(+) diff --git a/lib_com/ivas_omasa_com_fx.c b/lib_com/ivas_omasa_com_fx.c index e5986879b..e0ac44b22 100644 --- a/lib_com/ivas_omasa_com_fx.c +++ b/lib_com/ivas_omasa_com_fx.c @@ -349,7 +349,11 @@ Word32 ivas_interformat_brate_fx( limit_high = IVAS_512k / FRAMES_PER_SEC; move16(); +#ifdef FIX_2636_OMASA_INTERFORMAT_BRATE + IF( LT_32( element_brate, SCE_CORE_16k_LOW_LIMIT ) ) +#else IF( LE_32( element_brate, SCE_CORE_16k_LOW_LIMIT ) ) +#endif { limit_high = ACELP_12k8_HIGH_LIMIT / FRAMES_PER_SEC; move16(); diff --git a/lib_com/options.h b/lib_com/options.h index fca9b4b0f..0a68f64f9 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -102,6 +102,7 @@ #define FIX_FLOAT_1600_OMASA_WRONG_RENDER_PATH /* Nokia: float issue 1600: fix initialization condition of stereo type detection for OMASA */ #define FIX_BASOP_1765_MASA1TC_CNG_MISMATCH /* Nokia: BASOP issue 1765: Improve accuracy of FD CNG noise estimation */ #define FIX_BASOP_2627_PARAM_MC_ILD_REMAP_EXP /* FhG: BASOP #2627: accumulate 10^(ILD/10) using a dynamic exponent */ +#define FIX_2636_OMASA_INTERFORMAT_BRATE /* VA: basop issue 2636: Correct condition in function ivas_interformat_brate_fx() */ /* ##################### End NON-BE switches ########################### */ -- GitLab