From c53d6735621bb1d11234faa3baf48a540680f9f6 Mon Sep 17 00:00:00 2001 From: vaclav Date: Mon, 15 Dec 2025 16:36:21 +0100 Subject: [PATCH] introduce FIX_2285_CODE_DECODER_INIT_BW --- lib_com/options.h | 1 + lib_dec/init_dec_fx.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index ee8c6be3a..d3eddbbd5 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -102,6 +102,7 @@ #define FIX_2250_LARGE_DIFFERENCES_BETWEEN_BASOP_AND_FLOAT /* Dolby: Issue 2250: random vector generation in GenShapedSHBExcitation() */ #define FIX_2254_IMPROV_PRECISION_OR_COMPLEXITY_NON_BE /* VA: Precision improvement without increasing complexity, or complexity reduction that might be not BE on the LSB */ #define FIX_2252_LP_CNG_STARTS_SID /* VA: issues 2251 and 2252: fix LP CNG uninitialized value in bitstream that starts with an SID */ +#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_dec/init_dec_fx.c b/lib_dec/init_dec_fx.c index baed0184c..933bfda72 100644 --- a/lib_dec/init_dec_fx.c +++ b/lib_dec/init_dec_fx.c @@ -101,7 +101,7 @@ ivas_error init_decoder_fx( } ELSE { -#if 0 // keep deactivated for the moment to keep BE +#ifdef FIX_2285_CODE_DECODER_INIT_BW st_fx->bwidth = WB; move16(); st_fx->last_bwidth = WB; -- GitLab