Displaying 1 result from an estimated 1 matches for "flac__stream_encoder_init_".
Did you mean:
flac__stream_encoder_init
2016 Jan 09
0
flac, UTF-8 and Windows
..._shorthand_vorbiscomment.c and
flac/vorbiscomment.c that won't work if get_utf8_argv() failed:
...
#ifdef _WIN32 /* everything in UTF-8 already. Must not alter */
...
So, flac.exe calls get_utf8_argv(), then calls encode_file() which uses
flac_fopen() itself, and then indirectly calls FLAC__stream_encoder_init_{ogg_}file()
from libFLAC.
One of the parameters of this function is const char *filename.
Since filename is an UTF-8 encoded string, this libFLAC function must
call file functions from share/win_utf8_io/win_utf8_io.c.
******
TL;DR: some functions in libFLAC/stream_decoder.c, libFLAC/stream_enco...