diff --git a/apps/encoder.c b/apps/encoder.c index 91932dd8af40b955e75cf9b66aa16eb6ff2348b9..7f6d6baa30cd993bb1ab57849fcdbc78b027b1ec 100644 --- a/apps/encoder.c +++ b/apps/encoder.c @@ -1130,18 +1130,31 @@ static bool parseCmdlIVAS_enc( { strncpy( stmp, argv[i], sizeof( stmp ) ); stmp[sizeof( stmp ) - 1] = '\0'; +#ifdef FIX_411_EVS_BE_TESTS_ON_WINDOWS_FAILING + to_upper( stmp ); + if ( strcmp( stmp, "LO" ) == 0 ) +#else to_upper( argv[i] ); if ( strcmp( argv[i], "LO" ) == 0 ) +#endif { arg->caConfig.fec_indicator = IVAS_ENC_FEC_LO; } +#ifdef FIX_411_EVS_BE_TESTS_ON_WINDOWS_FAILING + else if ( strcmp( stmp, "HI" ) == 0 ) +#else else if ( strcmp( argv[i], "HI" ) == 0 ) +#endif { arg->caConfig.fec_indicator = IVAS_ENC_FEC_HI; } else { +#ifdef FIX_411_EVS_BE_TESTS_ON_WINDOWS_FAILING + arg->ca_config_file = argv[i]; +#else arg->ca_config_file = stmp; +#endif } i++; diff --git a/lib_com/options.h b/lib_com/options.h index 9fe797240d1cdaa787a3e8549aa766cb14f761ff..d2b920fd7530394c97c5b785dfced05f7a5e2fc9 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -177,6 +177,8 @@ #define FIX_435_ISM_MERGE_BUG /* Eri: Merge bug fix for ISM NULL metadata and tcx_only cases */ #define FIX_355_REFACTOR_PARAMBIN_TO_5MS /* Nokia: Fixes issue 355 by refactoring parametric binauralizer code to 5 ms mode */ +#define FIX_411_EVS_BE_TESTS_ON_WINDOWS_FAILING /* Eri: Fix incorrect use of stack variable used for channel aware config file */ + /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ #endif