Commit 3fa9b7e5 authored by Jan Kiene's avatar Jan Kiene
Browse files

Accept FIX_923_EXTERNAL_REND_COMMAND_LINE

parent e32c5a0d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -183,7 +183,6 @@
#define ISAR_BITSTREAM_UPDATE_LC3PLUS                   /* FhG: Multiple improvements to the ISAR bitstream when LC3plus is used. See MR 1456 for details. */
#define FIX_1372_ISAR_POST_REND
#endif
#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 NONBE_FIX_926_OSBA_DECODER_CRASH_PLANAR_SBA           /* FhG: issue 926: crash in OSBA decoding with planar FOA */
#define FIX_929_RENDERER_CMDL                   /* Nokia: issue #929: renderer command line option */
+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;
    }