cmAudioFile.c: Fixed bug in cmAudioFileCreate() where error msg did not
report the name of the audio file which produced the error.
This commit is contained in:
parent
28d686922b
commit
585b54c6d8
@ -708,7 +708,7 @@ cmRC_t cmAudioFileCreate( cmAudioFileH_t h, const cmChar_t* fn, double srat
|
||||
ext[i] = toupper(ext[i]);
|
||||
|
||||
if( strcmp(ext,"AIF") && strcmp(ext,"AIFF") )
|
||||
cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'.");
|
||||
cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'.",cmStringNullGuard(fn));
|
||||
|
||||
cmFsFreePathParts(pp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user