summaryrefslogtreecommitdiff
path: root/libavfilter/vf_nnedi.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_nnedi.c
parent4cdc14aa955805931b918d30d9c7349ab924dd52 (diff)
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_nnedi.c')
-rw-r--r--libavfilter/vf_nnedi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c
index 370f643678..e5a16918bd 100644
--- a/libavfilter/vf_nnedi.c
+++ b/libavfilter/vf_nnedi.c
@@ -957,7 +957,7 @@ static av_cold int init(AVFilterContext *ctx)
size_t bytes_read;
int ret = 0;
- weights_file = av_fopen_utf8(s->weights_file, "rb");
+ weights_file = avpriv_fopen_utf8(s->weights_file, "rb");
if (!weights_file) {
av_log(ctx, AV_LOG_ERROR, "No weights file provided, aborting!\n");
return AVERROR(EINVAL);