mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Remove incorrect use of ctype.h functions.
As far as I can tell the code should not change behaviour depending on locale in any of these places. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
2cffe38df3
commit
88d55b827d
27 changed files with 90 additions and 60 deletions
|
|
@ -1628,7 +1628,7 @@ int show_help(void *optctx, const char *opt, const char *arg)
|
|||
int read_yesno(void)
|
||||
{
|
||||
int c = getchar();
|
||||
int yesno = (toupper(c) == 'Y');
|
||||
int yesno = (av_toupper(c) == 'Y');
|
||||
|
||||
while (c != '\n' && c != EOF)
|
||||
c = getchar();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue