Commit c6ce0505 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_923_EXTERNAL_REND_COMMAND_LINE

parent 3cb76d6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -152,7 +152,6 @@
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_CRASH_LONG_BRIR                             /* Orange : Fix crash when long BRIR is set */
#define FIX_923_EXTERNAL_REND_COMMAND_LINE              /* VA: issue 923: enable external renderer command-line options in UPPER case letters */
#define FIX_921_OMASA_DELAY_PRINTOUT                    /* VA: issue 921: correct OMASA decoder delay printout */
#define FIX_929_RENDERER_CMDL                           /* Nokia: issue #929: renderer command line option */
#define FIX_910_REMOVE_DUPLICATION_TD_REND              /* VA: issue 910: remove duplication of function ivas_td_binaural_renderer() */
+0 −4
Original line number Diff line number Diff line
@@ -150,7 +150,6 @@ static int8_t optionMatchesString(

    const char *optionName = stringToOptionName( str );

#ifdef FIX_923_EXTERNAL_REND_COMMAND_LINE
    char optionName_to_upper[FILENAME_MAX];
    strncpy( optionName_to_upper, optionName, sizeof( optionName_to_upper ) - 1 );
    optionName_to_upper[sizeof( optionName_to_upper ) - 1] = '\0';
@@ -167,9 +166,6 @@ static int8_t optionMatchesString(
    to_upper( matchShort_to_upper );

    if ( strncmp( optionName_to_upper, match_to_upper, MAX_OPTION_LENGTH ) == 0 || strncmp( optionName_to_upper, matchShort_to_upper, MAX_OPTION_LENGTH ) == 0 )
#else
    if ( strncmp( optionName, opt.props.match, MAX_OPTION_LENGTH ) == 0 || strncmp( optionName, opt.props.matchShort, MAX_OPTION_LENGTH ) == 0 )
#endif
    {
        return 1;
    }