You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-12-04 14:00:22 +02:00
committed by
Zhao Zhili
parent
4fbacb3944
commit
2a1d5dd720
@@ -23,6 +23,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cmdutils.h"
|
||||
#include "fopen_utf8.h"
|
||||
#include "opt_common.h"
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
@@ -1204,7 +1205,7 @@ int init_report(const char *env, FILE **file)
|
||||
if (!envlevel)
|
||||
report_file_level = FFMAX(report_file_level, prog_loglevel);
|
||||
|
||||
report_file = fopen(filename.str, "w");
|
||||
report_file = fopen_utf8(filename.str, "w");
|
||||
if (!report_file) {
|
||||
int ret = AVERROR(errno);
|
||||
av_log(NULL, AV_LOG_ERROR, "Failed to open report \"%s\": %s\n",
|
||||
|
||||
Reference in New Issue
Block a user