]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.c
libavcodec/ac3dec: fix channel_layout
[ffmpeg] / ffmpeg.c
index 5eb395fce04634bb3e00dd343a1e4516d7326d2e..de361fff3d0200c888b34c8f15a5fe2310b018eb 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2468,7 +2468,7 @@ static int transcode_init(void)
                         codec->stats_in = logbuffer;
                     }
                     if (codec->flags & CODEC_FLAG_PASS1) {
-                        f = fopen(logfilename, "wb");
+                        f = av_fopen_utf8(logfilename, "wb");
                         if (!f) {
                             av_log(NULL, AV_LOG_FATAL, "Cannot write log file '%s' for pass-1 encoding: %s\n",
                                 logfilename, strerror(errno));