From 5452d0372ca14a66ef0f4b77043a78f4bf6b0707 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 14 Feb 2020 21:47:55 +0100 Subject: avfilter/vf_fieldhint: use av_fopen_utf8() --- libavfilter/vf_fieldhint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_fieldhint.c') 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)); -- cgit v1.2.3