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_deshake.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_deshake.c')
-rw-r--r-- | libavfilter/vf_deshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index 4f28467bb2..b37cffba9d 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -353,7 +353,7 @@ static av_cold int init(AVFilterContext *ctx) } if (deshake->filename) - deshake->fp = fopen(deshake->filename, "w"); + deshake->fp = avpriv_fopen_utf8(deshake->filename, "w"); if (deshake->fp) fwrite("Ori x, Avg x, Fin x, Ori y, Avg y, Fin y, Ori angle, Avg angle, Fin angle, Ori zoom, Avg zoom, Fin zoom\n", 1, 104, deshake->fp); |