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:
@@ -110,7 +110,7 @@ typedef struct HLSContext {
|
||||
static int read_chomp_line(AVIOContext *s, char *buf, int maxlen)
|
||||
{
|
||||
int len = ff_get_line(s, buf, maxlen);
|
||||
while (len > 0 && isspace(buf[len - 1]))
|
||||
while (len > 0 && av_isspace(buf[len - 1]))
|
||||
buf[--len] = '\0';
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user