[FFmpeg-devel] [PATCH 1/2] lavu: add locale-independent sscanf implementation
Tomas Härdin
tjoppen at acc.umu.se
Tue Nov 13 13:40:21 EET 2018
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
> should
> 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
/Tomas
More information about the ffmpeg-devel
mailing list