diff --git a/lib_com/options.h b/lib_com/options.h index 57c086afb35424dee7a8ab0fb96606fb44bab42c..75eb46ce632726b5ecd600cdea87b0964fa3b2f5 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -181,6 +181,7 @@ #define FIX_1461_CNG_BW_SWITCHING /* Eri: issue 1461: Stereo parameters are not updated when SID/NODATA forces BW to stay the same */ #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_1381_BWD /* VA: issue 1381: apply no hysteresis in BWD at higher bitrates also in mono MASA and OMASA */ +#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.c b/lib_dec/init_dec.c index f13748c54b2f6d5df47f9b9a06a42801c521867d..38f7429b6937e766a0000d995f53a0fbdec86ad9 100644 --- a/lib_dec/init_dec.c +++ b/lib_dec/init_dec.c @@ -87,7 +87,7 @@ ivas_error init_decoder( } else { -#if 0 // keep deactivated for the moment to keep BE +#ifdef FIX_2285_CODE_DECODER_INIT_BW st->bwidth = WB; st->last_bwidth = WB; #else