diff --git a/lib_com/ivas_omasa_com_fx.c b/lib_com/ivas_omasa_com_fx.c index e5986879b9525a064a1fbf6225d475feaf3e7c74..e0ac44b22b0e9c671514699f6696010f7f7fc7ce 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 2bd4c88b7a2e872f10785f9e926da1a5acebfd45..0fcc219086979a93ed29fa3105e633358c2a2bb6 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -98,6 +98,7 @@ #define FIX_BASOP_2635_EFAP_ADD_VERTEX_ELE_ROUND /* FhG: BASOP #2635: round |elevation| with anint_fx before the 90deg subtraction in add_vertex_fx */ #define FIX_BASOP_2639_INCORRECT_ARRAY_INDEX /* Dolby: BASOP #2639: incorrect array index in ivas_spar_unquant_dtx_indicies */ #define FIX_BASOP_2640_MASA_STEREO_TYPE_ASSERT /* Nokia: BASOP issue 2640: Fix assert by saturating shift when exponent difference is very large. */ +#define FIX_2636_OMASA_INTERFORMAT_BRATE /* VA: basop issue 2636: Correct condition in function ivas_interformat_brate_fx() */ /* ##################### End NON-BE switches ########################### */