[FFmpeg-devel] [PATCH v3 4/5] fftools/cmdutils.c: Replace MAX_PATH-sized buffers with dynamically sized ones

nil-admirari at mailo.com nil-admirari at mailo.com
Sat Feb 19 12:10:38 EET 2022


> Ok, well maybe we should change that too, to use wchar paths (or utf8->whcar routines?).

Changed to wchartoutf8, and replaced fopen with av_fopen_utf8 throughout the file. See https://ffmpeg.org/pipermail/ffmpeg-devel/2022-February/293229.html.

> doesn't use UTF-8 like everything else.

 This is not the only place where plain fopen is used.

    grep -RP '\bfopen\(' | wc -l

gives 66 occurrences.





More information about the ffmpeg-devel mailing list