Loading apps/decoder.c +8 −8 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ typedef struct char *jbmTraceFilename; #endif char *jbmOffsetFilename; char *FEPatterFileName; char *FEPatternFileName; float FER; bool hrtfReaderEnabled; char *hrtfFileName; Loading Loading @@ -388,9 +388,9 @@ int main( * Open Error pattern file for simulation *-----------------------------------------------------------------*/ if ( arg.FEPatterFileName != NULL ) if ( arg.FEPatternFileName != NULL ) { if ( ( FEC_pattern = fopen( arg.FEPatterFileName, "rb" ) ) == NULL ) if ( ( FEC_pattern = fopen( arg.FEPatternFileName, "rb" ) ) == NULL ) { fprintf( stderr, "Error: Missing or incorrect FEC filename specification\n\n" ); usage_dec(); Loading @@ -406,11 +406,11 @@ int main( * Print information about FEC *-----------------------------------------------------------------*/ if ( !arg.voipMode && ( arg.FEPatterFileName != NULL || arg.FER > 0 ) ) if ( !arg.voipMode && ( arg.FEPatternFileName != NULL || arg.FER > 0 ) ) { if ( arg.FEPatterFileName != NULL ) if ( arg.FEPatternFileName != NULL ) { fprintf( stdout, "FEC: %s\n", arg.FEPatterFileName ); fprintf( stdout, "FEC: %s\n", arg.FEPatternFileName ); } else { Loading Loading @@ -741,7 +741,7 @@ static bool parseCmdlIVAS_dec( arg->jbmOffsetFilename = NULL; arg->FER = 0.f; arg->FEPatterFileName = NULL; arg->FEPatternFileName = NULL; arg->hrtfReaderEnabled = false; arg->hrtfFileName = NULL; Loading Loading @@ -852,7 +852,7 @@ static bool parseCmdlIVAS_dec( ftmp = 0.0f; if ( sscanf( argv[i + 1], "%f", &ftmp ) != 1 ) { arg->FEPatterFileName = argv[i + 1]; arg->FEPatternFileName = argv[i + 1]; } else { Loading Loading
apps/decoder.c +8 −8 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ typedef struct char *jbmTraceFilename; #endif char *jbmOffsetFilename; char *FEPatterFileName; char *FEPatternFileName; float FER; bool hrtfReaderEnabled; char *hrtfFileName; Loading Loading @@ -388,9 +388,9 @@ int main( * Open Error pattern file for simulation *-----------------------------------------------------------------*/ if ( arg.FEPatterFileName != NULL ) if ( arg.FEPatternFileName != NULL ) { if ( ( FEC_pattern = fopen( arg.FEPatterFileName, "rb" ) ) == NULL ) if ( ( FEC_pattern = fopen( arg.FEPatternFileName, "rb" ) ) == NULL ) { fprintf( stderr, "Error: Missing or incorrect FEC filename specification\n\n" ); usage_dec(); Loading @@ -406,11 +406,11 @@ int main( * Print information about FEC *-----------------------------------------------------------------*/ if ( !arg.voipMode && ( arg.FEPatterFileName != NULL || arg.FER > 0 ) ) if ( !arg.voipMode && ( arg.FEPatternFileName != NULL || arg.FER > 0 ) ) { if ( arg.FEPatterFileName != NULL ) if ( arg.FEPatternFileName != NULL ) { fprintf( stdout, "FEC: %s\n", arg.FEPatterFileName ); fprintf( stdout, "FEC: %s\n", arg.FEPatternFileName ); } else { Loading Loading @@ -741,7 +741,7 @@ static bool parseCmdlIVAS_dec( arg->jbmOffsetFilename = NULL; arg->FER = 0.f; arg->FEPatterFileName = NULL; arg->FEPatternFileName = NULL; arg->hrtfReaderEnabled = false; arg->hrtfFileName = NULL; Loading Loading @@ -852,7 +852,7 @@ static bool parseCmdlIVAS_dec( ftmp = 0.0f; if ( sscanf( argv[i + 1], "%f", &ftmp ) != 1 ) { arg->FEPatterFileName = argv[i + 1]; arg->FEPatternFileName = argv[i + 1]; } else { Loading