From 55755b4ab27a94bfa1d91e494441dc2168164d19 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 14 Feb 2020 21:48:54 +0100 Subject: [PATCH] avfilter/opencl: use av_fopen_utf8() --- libavfilter/opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c index 8e96543467..9c46cfdc09 100644 --- a/libavfilter/opencl.c +++ b/libavfilter/opencl.c @@ -225,7 +225,7 @@ int ff_opencl_filter_load_program_from_file(AVFilterContext *avctx, const char *src_const; int err; - file = fopen(filename, "r"); + file = av_fopen_utf8(filename, "r"); if (!file) { av_log(avctx, AV_LOG_ERROR, "Unable to open program " "source file \"%s\".\n", filename);