summaryrefslogtreecommitdiff
path: root/libavfilter/vf_dnn_detect.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_dnn_detect.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_dnn_detect.c')
-rw-r--r--libavfilter/vf_dnn_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c
index dd4507250f..68bd2cd0c3 100644
--- a/libavfilter/vf_dnn_detect.c
+++ b/libavfilter/vf_dnn_detect.c
@@ -244,7 +244,7 @@ static int read_detect_label_file(AVFilterContext *context)
FILE *file;
DnnDetectContext *ctx = context->priv;
- file = av_fopen_utf8(ctx->labels_filename, "r");
+ file = avpriv_fopen_utf8(ctx->labels_filename, "r");
if (!file){
av_log(context, AV_LOG_ERROR, "failed to open file %s\n", ctx->labels_filename);
return AVERROR(EINVAL);