aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_vidstabtransform.c
diff options
context:
space:
mode:
authorsoftworkz <softworkz@hotmail.com>2022-05-23 11:26:09 +0000
committerMartin Storsjö <martin@martin.st>2022-05-24 11:50:24 +0300
commitf579a1d08b269b6dfc89596af20582c01950adb2 (patch)
treee0de52b871f32275496abf06f47bd1147ca8fa01 /libavfilter/vf_vidstabtransform.c
parentd2ef44fbb16f3c5675b0c9aa0f281618f7a2a921 (diff)
downloadffmpeg-f579a1d08b269b6dfc89596af20582c01950adb2.tar.gz
avfilter: use avpriv_fopen_utf8() instead of plain fopen()
Unify file access operations by replacing usages of direct calls to posix fopen() to prepare for long filename support on Windows. Signed-off-by: softworkz <softworkz@hotmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/vf_vidstabtransform.c')
-rw-r--r--libavfilter/vf_vidstabtransform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c
index 4619e9b256..de303554cd 100644
--- a/libavfilter/vf_vidstabtransform.c
+++ b/libavfilter/vf_vidstabtransform.c
@@ -191,7 +191,7 @@ static int config_input(AVFilterLink *inlink)
av_log(ctx, AV_LOG_INFO, " zoomspeed = %g\n", tc->conf.zoomSpeed);
av_log(ctx, AV_LOG_INFO, " interpol = %s\n", getInterpolationTypeName(tc->conf.interpolType));
- f = fopen(tc->input, "r");
+ f = avpriv_fopen_utf8(tc->input, "r");
if (!f) {
int ret = AVERROR(errno);
av_log(ctx, AV_LOG_ERROR, "cannot open input file %s\n", tc->input);