mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Use the avstring.h locale-independent character type functions
Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
12c5c1d3e3
commit
efa7f42020
23 changed files with 47 additions and 52 deletions
|
|
@ -1289,7 +1289,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