[FFmpeg-cvslog] avfilter/vf_fieldhint: use av_fopen_utf8()
Paul B Mahol
git at videolan.org
Fri Feb 14 22:52:26 EET 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Feb 14 21:47:55 2020 +0100| [5452d0372ca14a66ef0f4b77043a78f4bf6b0707] | committer: Paul B Mahol
avfilter/vf_fieldhint: use av_fopen_utf8()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5452d0372ca14a66ef0f4b77043a78f4bf6b0707
---
libavfilter/vf_fieldhint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_fieldhint.c b/libavfilter/vf_fieldhint.c
index a5d6762f09..c120bb01c3 100644
--- a/libavfilter/vf_fieldhint.c
+++ b/libavfilter/vf_fieldhint.c
@@ -65,7 +65,7 @@ static av_cold int init(AVFilterContext *ctx)
av_log(ctx, AV_LOG_ERROR, "Hint file must be set.\n");
return AVERROR(EINVAL);
}
- s->hint = fopen(s->hint_file_str, "r");
+ s->hint = av_fopen_utf8(s->hint_file_str, "r");
if (!s->hint) {
ret = AVERROR(errno);
av_log(ctx, AV_LOG_ERROR, "%s: %s\n", s->hint_file_str, av_err2str(ret));
More information about the ffmpeg-cvslog
mailing list