Commit b5aca16b authored by Fabian Bauer's avatar Fabian Bauer
Browse files

introduce macro to switch

parent 06cecdc4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -124,6 +124,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_2331_CLANG18_MSAN_UNINIT_VARIABLE           /* FhG: Fix issue 2331: Uninitialized variable */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -6987,7 +6987,11 @@ static ivas_error renderIsmToSba(
    Word8 position_changed;
    Word16 ambiOrderOut;
    Word16 numOutChannels;
#ifdef FIX_2331_CLANG18_MSAN_UNINIT_VARIABLE
    pan_vector_fx currentPanGains_fx = { 0 }; // Solve Clang-18 warnings
#else
    pan_vector_fx currentPanGains_fx;
#endif
    ivas_error error;
    error = IVAS_ERR_OK;
    move32();