diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-09-07 19:11:55 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-09-07 19:13:19 +0200 |
commit | 376c61c61b357265ed692a6a587ef9f0adf1d4a0 (patch) | |
tree | 5f613ae8a4b90c568b9fbaac562a159e12485fc4 | |
parent | 5fcd83a244f26bcd9860e52a5bbcd53d8a8f89e6 (diff) | |
download | ffmpeg-376c61c61b357265ed692a6a587ef9f0adf1d4a0.tar.gz |
avfilter/vf_nnedi: use av_fopen_utf8()
-rw-r--r-- | libavfilter/vf_nnedi.c | 2 |
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); |