From 08c6c5a5513dea578384671eed13544a4462e06f Mon Sep 17 00:00:00 2001 From: Vladimir Malenovsky Date: Thu, 7 May 2026 10:20:48 +0200 Subject: [PATCH 1/2] Wrong render framesize printout --- apps/decoder.c | 14 ++++++++++++++ lib_com/options.h | 1 + 2 files changed, 15 insertions(+) diff --git a/apps/decoder.c b/apps/decoder.c index 1bb6db63a..24f524b0c 100644 --- a/apps/decoder.c +++ b/apps/decoder.c @@ -464,6 +464,7 @@ int main( } } +#ifndef FIX_1550_WRONG_RENDER_FRAMESIZE_PRINTOUT /*-----------------------------------------------------------------* * Print config information *-----------------------------------------------------------------*/ @@ -473,6 +474,7 @@ int main( fprintf( stderr, "\nIVAS_DEC_PrintConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; } +#endif /*-------------------------------------------------------------------* * Load renderer configuration from file @@ -666,6 +668,18 @@ int main( hHrtfBinary.hrtf_set_audio_cfg = IVAS_AUDIO_CONFIG_INVALID; } +#ifdef FIX_1550_WRONG_RENDER_FRAMESIZE_PRINTOUT + /*-----------------------------------------------------------------* + * Print config information + *-----------------------------------------------------------------*/ + + if ( ( error = IVAS_DEC_PrintConfig( hIvasDec, 1, arg.voipMode ) ) != IVAS_ERR_OK ) + { + fprintf( stderr, "\nIVAS_DEC_PrintConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) ); + goto cleanup; + } +#endif + /*------------------------------------------------------------------------------------------* * Allocate output data buffer *------------------------------------------------------------------------------------------*/ diff --git a/lib_com/options.h b/lib_com/options.h index 5390fd919..f17bd0df8 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -106,6 +106,7 @@ #define HARMONIZE_2539_cng_energy /* FhG: basop issue 2539: harmonize cng_energy with its ivas derivate */ #define FIX_1585_ASAN_FORMAT_SW_ALT /* VA: float issue 1585: alternative fix memory leaks with format switching */ #define FIX_BASOP_2573_RF_MODE_UPDATE /* FhG: BASOP issue 2573: remove duplicated update of rf_mode parameters from evs_enc_fx(); was already done in updt_enc_common_fx() */ +#define FIX_1550_WRONG_RENDER_FRAMESIZE_PRINTOUT /* Dolby: float issue 1550: Wrong render framesize printout */ /* #################### End BE switches ################################## */ -- GitLab From 3cb48856912fb4af86f9d2208b7386cc3e527eb3 Mon Sep 17 00:00:00 2001 From: Vladimir Malenovsky Date: Thu, 7 May 2026 10:23:19 +0200 Subject: [PATCH 2/2] clang format --- apps/decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/decoder.c b/apps/decoder.c index 24f524b0c..06cbf172c 100644 --- a/apps/decoder.c +++ b/apps/decoder.c @@ -464,7 +464,7 @@ int main( } } -#ifndef FIX_1550_WRONG_RENDER_FRAMESIZE_PRINTOUT +#ifndef FIX_1550_WRONG_RENDER_FRAMESIZE_PRINTOUT /*-----------------------------------------------------------------* * Print config information *-----------------------------------------------------------------*/ @@ -474,7 +474,7 @@ int main( fprintf( stderr, "\nIVAS_DEC_PrintConfig failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) ); goto cleanup; } -#endif +#endif /*-------------------------------------------------------------------* * Load renderer configuration from file -- GitLab