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

Paul B Mahol git at videolan.org
Fri Feb 14 22:52:28 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Feb 14 21:48:54 2020 +0100| [55755b4ab27a94bfa1d91e494441dc2168164d19] | committer: Paul B Mahol

avfilter/opencl: use av_fopen_utf8()

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

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



More information about the ffmpeg-cvslog mailing list