[FFmpeg-devel] [PATCH 1/2] lavu: add locale-independent sscanf implementation
Paul B Mahol
onemda at gmail.com
Tue Nov 13 13:47:24 EET 2018
On 11/13/18, Tomas Härdin <tjoppen at acc.umu.se> wrote:
> mån 2018-11-12 klockan 21:41 +0100 skrev Nicolas George:
>> Tomas Härdin (2018-11-12):
>> > Why not set locale instead?
>> That would conflict with the wishes of the application. A library
>> never change global state.
>> (Of course, the core of the problem is that locales are global state,
>> this is braindead design.)
> So fork() instead. This is a horrible solution
Look at rest of functions, we already have av_isspace and etc.
And saying its horrible solution is disgrace to me.
More information about the ffmpeg-devel