Commit 55755b4a authored by Paul B Mahol's avatar Paul B Mahol

avfilter/opencl: use av_fopen_utf8()

parent 5452d037
...@@ -225,7 +225,7 @@ int ff_opencl_filter_load_program_from_file(AVFilterContext *avctx, ...@@ -225,7 +225,7 @@ int ff_opencl_filter_load_program_from_file(AVFilterContext *avctx,
const char *src_const; const char *src_const;
int err; int err;
file = fopen(filename, "r"); file = av_fopen_utf8(filename, "r");
if (!file) { if (!file) {
av_log(avctx, AV_LOG_ERROR, "Unable to open program " av_log(avctx, AV_LOG_ERROR, "Unable to open program "
"source file \"%s\".\n", filename); "source file \"%s\".\n", filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment