summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-01 01:15:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-21 18:27:46 +0100
commitd7ac887cd62814394b4e1617154f6d3c3bffa7a3 (patch)
treee0f7b1fa343b818b589bcd54c2ed1a6ba5979cd0 /ffmpeg.c
parent78bfc417d4305f2f30cd21a4eb76cde5988ba77d (diff)
cmdutils&ffmpeg: use av_fopen_utf8() for passlogfile
might fix Ticket3056 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 5eb395fce0..de361fff3d 100644
--- 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));