diff options
author | softworkz <softworkz@hotmail.com> | 2022-05-23 11:26:09 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-05-24 11:50:24 +0300 |
commit | f579a1d08b269b6dfc89596af20582c01950adb2 (patch) | |
tree | e0de52b871f32275496abf06f47bd1147ca8fa01 /libavfilter/vf_vidstabdetect.c | |
parent | d2ef44fbb16f3c5675b0c9aa0f281618f7a2a921 (diff) |
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_vidstabdetect.c')
-rw-r--r-- | libavfilter/vf_vidstabdetect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vidstabdetect.c b/libavfilter/vf_vidstabdetect.c index 267a62ea9b..044911ec27 100644 --- a/libavfilter/vf_vidstabdetect.c +++ b/libavfilter/vf_vidstabdetect.c @@ -126,7 +126,7 @@ static int config_input(AVFilterLink *inlink) av_log(ctx, AV_LOG_INFO, " show = %d\n", s->conf.show); av_log(ctx, AV_LOG_INFO, " result = %s\n", s->result); - s->f = fopen(s->result, "w"); + s->f = avpriv_fopen_utf8(s->result, "w"); if (s->f == NULL) { av_log(ctx, AV_LOG_ERROR, "cannot open transform file %s\n", s->result); return AVERROR(EINVAL); |