Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-09-07 20:11:55 +0300
committerPaul B Mahol <onemda@gmail.com>2020-09-07 20:13:19 +0300
commit376c61c61b357265ed692a6a587ef9f0adf1d4a0 (patch)
tree5f613ae8a4b90c568b9fbaac562a159e12485fc4 /libavfilter/vf_nnedi.c
parent5fcd83a244f26bcd9860e52a5bbcd53d8a8f89e6 (diff)
avfilter/vf_nnedi: use av_fopen_utf8()
Diffstat (limited to 'libavfilter/vf_nnedi.c')
-rw-r--r--libavfilter/vf_nnedi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index 9bad99e98a..33ff503d92 100644
--- a/libavfilter/vf_nnedi.c
+++ b/libavfilter/vf_nnedi.c
@@ -922,7 +922,7 @@ static av_cold int init(AVFilterContext *ctx)
int dims1offset = 0;
int ret = 0, i, j, k;
- weights_file = fopen(s->weights_file, "rb");
+ weights_file = av_fopen_utf8(s->weights_file, "rb");
if (!weights_file) {
av_log(ctx, AV_LOG_ERROR, "No weights file provided, aborting!\n");
return AVERROR(EINVAL);