[FFmpeg-devel] [PATCH v12 1/4] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi

nil-admirari at mailo.com nil-admirari at mailo.com
Mon Jun 13 19:36:18 EEST 2022


>> ...
>> 1. fopen() is replaced with avpriv_fopen_utf8(), getenv() is made Unicode-aware
>> on Windows, and wide version of get_module_filename() is used as it is now.
> ...
> For that, the first option sounds better - that sounds to me more like a 
> direction forward, not backwards.

Done: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297491.html.
getenv_utf8 is a static inline in its own header in libavutil.

log.c, bktr.c, fbdev_common.c, oss.c and af_ladspa.c still use plain getenv(),
please check commit message for details.

All other uses of getenv() have been replaced with getenv_utf8():
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297495.html
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297494.html
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297493.html





More information about the ffmpeg-devel mailing list