Commit 1134a718 authored by Vidhya V P's avatar Vidhya V P
Browse files

Minor modificationa

parent 41ae1af9
Loading
Loading
Loading
Loading
+0 −31
Original line number Diff line number Diff line
@@ -1002,37 +1002,6 @@ int main(
    }
    else
#endif
    {

        if ( AudioFileReader_open( &audioReader, audioFilePath ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "Error opening file: %s\n", audioFilePath );
            exit( -1 );
        }
    }

#ifdef SPLIT_REND_WITH_HEAD_ROT
    /*if split renderer is running in post renderer mode*/
    if ( ( args.inConfig.numBinBuses > 0 ) && ( args.inConfig.binBuses[0].audioConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_SPLIT_CLDFB ) )
    {
        error = split_rend_reader_open( &hSplitRendFileReadWrite, args.inputFilePath );
        if ( error != IVAS_ERR_OK )
        {
            fprintf( stderr, "Could not open split rend metadata file %s\n", args.inputFilePath );
            exit( -1 );
        }
        audioReader = NULL;
    }
    else
#endif
    {

        if ( AudioFileReader_open( &audioReader, audioFilePath ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "Error opening file: %s\n", audioFilePath );
            exit( -1 );
        }
    }
    {
        if ( AudioFileReader_open( &audioReader, audioFilePath ) != IVAS_ERR_OK )
        {