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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Feb 14 21:44:38 2020 +0100| [a2c07463449063bc9c6e09a5f251a1f5d0475d0d] | committer: Paul B Mahol

avfilter/vf_lut3d: use av_fopen_utf8()

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

 libavfilter/vf_lut3d.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
index 9e820a17c9..fda85b16b4 100644
--- a/libavfilter/vf_lut3d.c
+++ b/libavfilter/vf_lut3d.c
@@ -805,7 +805,7 @@ static av_cold int lut3d_init(AVFilterContext *ctx)
         return set_identity_matrix(ctx, 32);
     }
 
-    f = fopen(lut3d->file, "r");
+    f = av_fopen_utf8(lut3d->file, "r");
     if (!f) {
         ret = AVERROR(errno);
         av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut3d->file, av_err2str(ret));
@@ -1588,7 +1588,7 @@ static av_cold int lut1d_init(AVFilterContext *ctx)
         return 0;
     }
 
-    f = fopen(lut1d->file, "r");
+    f = av_fopen_utf8(lut1d->file, "r");
     if (!f) {
         ret = AVERROR(errno);
         av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut1d->file, av_err2str(ret));



More information about the ffmpeg-cvslog mailing list