summaryrefslogtreecommitdiff
path: root/libavfilter/vf_fieldhint.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-02-14 21:47:55 +0100
committerPaul B Mahol <onemda@gmail.com>2020-02-14 21:47:55 +0100
commit5452d0372ca14a66ef0f4b77043a78f4bf6b0707 (patch)
tree37275a72f2a6256e0757f94ae39731918856a7fc /libavfilter/vf_fieldhint.c
parenta2c07463449063bc9c6e09a5f251a1f5d0475d0d (diff)
downloadffmpeg-5452d0372ca14a66ef0f4b77043a78f4bf6b0707.tar.gz
avfilter/vf_fieldhint: use av_fopen_utf8()
Diffstat (limited to 'libavfilter/vf_fieldhint.c')
-rw-r--r--libavfilter/vf_fieldhint.c2
1 files changed, 1 insertions, 1 deletions
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));