[FFmpeg-cvslog] avfilter/vf_nnedi: use av_fopen_utf8()

Paul B Mahol git at videolan.org
Mon Sep 7 20:13:57 EEST 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep  7 19:11:55 2020 +0200| [376c61c61b357265ed692a6a587ef9f0adf1d4a0] | committer: Paul B Mahol

avfilter/vf_nnedi: use av_fopen_utf8()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=376c61c61b357265ed692a6a587ef9f0adf1d4a0
---

 libavfilter/vf_nnedi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);



More information about the ffmpeg-cvslog mailing list