From efa7f4202088c70caba11d7834641bc6eaf41830 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 3 Mar 2013 11:17:50 +0100 Subject: Use the avstring.h locale-independent character type functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/hls.c') diff --git a/libavformat/hls.c b/libavformat/hls.c index 4c0e0c0b63..0d691ec47e 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -108,7 +108,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; } -- cgit v1.2.3