From 38a5986732357d4c3a482620d039d1027b546370 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Thu, 8 May 2025 08:14:10 +0200 Subject: [PATCH] port MR 1335 from float --- lib_com/ivas_dirac_com.c | 4 ++++ lib_com/options.h | 1 + 2 files changed, 5 insertions(+) diff --git a/lib_com/ivas_dirac_com.c b/lib_com/ivas_dirac_com.c index bff649e72..1ffeb6564 100644 --- a/lib_com/ivas_dirac_com.c +++ b/lib_com/ivas_dirac_com.c @@ -447,10 +447,14 @@ ivas_error ivas_dirac_sba_config( else { hQMetaData->useLowerBandRes = 0; +#ifndef NONBE_FIX_973_HODIRAC_BAND_GROUPING if ( hodirac_flag == 0 ) { nbands_coded = nbands - 1; /* always combine the last two bands */ } +#else + nbands_coded = nbands - 1; /* always combine the last two bands */ +#endif } { diff --git a/lib_com/options.h b/lib_com/options.h index 98508e8b4..0190fc5cc 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -189,6 +189,7 @@ #define NONBE_FIX_935_SBA_REVERB /* FhG: issue 935: fix MSAN error for SBA related to BINAURAL_ROOM_REVERB */ #define FIX_969_USAN_IGF_ARITH /* FhG: issue 969: fix USAN error in igf_sce_dec; same issue as #962 */ #define FIX_959_MASA_LINEAR_REND /* VA: issue 959: remove unused calling of ivas_sba_linear_renderer() in MASA rendering */ +#define NONBE_FIX_973_HODIRAC_BAND_GROUPING /* FhG: issue 973: empty parameter band in DirAC */ /* #################### End BASOP porting switches ############################ */ -- GitLab