diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-03 14:17:50 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-07 17:16:36 +0400 |
commit | efa7f4202088c70caba11d7834641bc6eaf41830 (patch) | |
tree | 7ef0beba253b642affcc69f634f192fdc7c12428 /libavformat/rtmphttp.c | |
parent | 12c5c1d3e3906e18a96ec380605d2f1504fc3d3b (diff) |
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>
Diffstat (limited to 'libavformat/rtmphttp.c')
-rw-r--r-- | libavformat/rtmphttp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c index 80a983bd11..e67abba57c 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'; |