summaryrefslogtreecommitdiff
path: root/libavfilter/opencl.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-02-14 21:48:54 +0100
committerPaul B Mahol <onemda@gmail.com>2020-02-14 21:49:47 +0100
commit55755b4ab27a94bfa1d91e494441dc2168164d19 (patch)
treeae9df04ca4721f654c376d2b509f1fddfb726de3 /libavfilter/opencl.c
parent5452d0372ca14a66ef0f4b77043a78f4bf6b0707 (diff)
avfilter/opencl: use av_fopen_utf8()
Diffstat (limited to 'libavfilter/opencl.c')
-rw-r--r--libavfilter/opencl.c2
1 files changed, 1 insertions, 1 deletions
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);