From f1f69ea9762f849683f531d6bca8d83a98b0aa33 Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Fri, 10 Apr 2026 12:57:33 +0300 Subject: [PATCH] Fix BASOP issue 2510 by removing the assert. --- lib_com/options.h | 1 + lib_rend/ivas_dirac_rend_fx.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 8d06feb49..bcd8a052e 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -129,6 +129,7 @@ #define FIX_BASOP_2513_EXTRA_RETURN_REND_OPEN /* Nokia: BASOP issue 2513: Removes extra return block */ #define FIX_BASOP_2514_EFAP_PORTING_ERROR /* Nokia: BASOP issue 2514: Fix wrongly ported line */ #define FIX_BASOP_2516_REND_CUSTOM_LAYOUT_PORT_BUG /* Nokia: BASOP issue 2516: Fix porting bug in setting planar state for custom layout in renderer */ +#define FIX_BASOP_2510_UNNECESSARY_ASSERT /* Nokia: BASOP issue 2510: Fix by removing assert */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_rend/ivas_dirac_rend_fx.c b/lib_rend/ivas_dirac_rend_fx.c index 2b279656a..97695ce39 100644 --- a/lib_rend/ivas_dirac_rend_fx.c +++ b/lib_rend/ivas_dirac_rend_fx.c @@ -1252,8 +1252,10 @@ void initDiffuseResponses_fx( move16(); Word16 num_horizontal_speakers_isq = ISqrt16( num_horizontal_speakers, &exp_var1 ); // q15-exp_var1 num_horizontal_speakers_isq = shr( num_horizontal_speakers_isq, negate( exp_var1 ) ); // q15 +#ifndef FIX_BASOP_2510_UNNECESSARY_ASSERT assert( 0 ); /*No stream hitting*/ +#endif FOR( i = 0; i < num_channels; i++ ) { diffuse_response_function_fx[i] = mult( diffuse_response_function_fx[i], num_horizontal_speakers_isq ); // q15 -- GitLab