From 88d55b827d5ecac94c9ec399d219cc02b46ed694 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 3 Mar 2013 11:17:50 +0100 Subject: Remove incorrect use of ctype.h functions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- libavformat/rtmphttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtmphttp.c') diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c index d21ac67315..3a51f7c429 100644 --- a/libavformat/rtmphttp.c +++ b/libavformat/rtmphttp.c @@ -236,7 +236,7 @@ static int rtmp_http_open(URLContext *h, const char *uri, int flags) goto fail; } } - while (off > 0 && isspace(rt->client_id[off - 1])) + while (off > 0 && av_isspace(rt->client_id[off - 1])) off--; rt->client_id[off] = '\0'; -- cgit v1.2.3