aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_fieldhint.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-05-20 14:55:46 +0300
committerMartin Storsjö <martin@martin.st>2022-05-23 13:52:45 +0300
commit6076dbcb55d0c9b6693d1acad12a63f7268301aa (patch)
treec20f84394e1f041c912b140ab2c0777af1adccea /libavfilter/vf_fieldhint.c
parent4cdc14aa955805931b918d30d9c7349ab924dd52 (diff)
downloadffmpeg-6076dbcb55d0c9b6693d1acad12a63f7268301aa.tar.gz
Switch uses of av_fopen_utf8 to avpriv_fopen_utf8
The former has been deprecated. Signed-off-by: Martin Storsjö <martin@martin.st>
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 e7afac1116..e6061c6d3c 100644
--- a/libavfilter/vf_fieldhint.c
+++ b/libavfilter/vf_fieldhint.c
@@ -73,7 +73,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 = av_fopen_utf8(s->hint_file_str, "r");
+ s->hint = avpriv_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));