Skip to content

Commit

Permalink
[coreAudio] Use our fopen wrapper to create output file
Browse files Browse the repository at this point in the history
This should fix the issue on Windows with mangled non-ASCII characters in
the filename when saving audio to a file.
  • Loading branch information
eumagga0x2a committed Dec 8, 2020
1 parent 388aa89 commit 086cc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avidemux_core/ADM_coreAudio/src/ADM_audioWrite.cpp
Expand Up @@ -48,7 +48,7 @@ bool ADM_audioWrite::close(void)
*/
bool ADM_audioWrite::init(ADM_audioStream *stream, const char *fileName)
{
_file=fopen(fileName,"wb");
_file=ADM_fopen(fileName,"wb");
if(!_file) return false;
return true;
}
Expand Down

0 comments on commit 086cc2e

Please sign in to comment.