From d9eff1b9d35ab9a7b81dffc090c34d8f5a143d7c Mon Sep 17 00:00:00 2001 From: vaclav Date: Thu, 15 Jan 2026 16:21:42 +0100 Subject: [PATCH] fix FIX_2318_CLANG_DECODER --- apps/decoder.c | 3 +++ lib_com/options.h | 1 + 2 files changed, 4 insertions(+) diff --git a/apps/decoder.c b/apps/decoder.c index 65344333d..38face83f 100644 --- a/apps/decoder.c +++ b/apps/decoder.c @@ -913,6 +913,9 @@ static bool parseCmdlIVAS_dec( arg->inputFormat = IVAS_DEC_INPUT_FORMAT_G192; arg->non_diegetic_pan_enabled = false; arg->non_diegetic_pan_gain = 0.f; +#ifdef FIX_2318_CLANG_DECODER + arg->non_diegetic_pan_gain_fx = 0; +#endif arg->tsmEnabled = false; arg->render_num_subframes = IVAS_RENDER_NUM_SUBFR_20MS; arg->aeSequence.count = 0; diff --git a/lib_com/options.h b/lib_com/options.h index 301bee4d8..78d83c6f8 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -97,6 +97,7 @@ #define REMOVE_UNUSED_CODE_IVAS_DEC /* VA: remove unused code in ivas_jbm_dec_tc_fx() */ #define FIX_2294_CLANG_18_WARNINGS_ENC /* VA: Fix some encoder clang-18 warnings, desc. in 2294 */ #define REMOVE_CAM_FROM_IVAS /* VA: basop issue 210: remove obsoelte CAM code from IVAS */ +#define FIX_2318_CLANG_DECODER /* VA: basop issue 2318: Initialize command-line parameter arg.non_diegetic_pan_gain_fx */ /* #################### End BE switches ################################## */ -- GitLab