Remove incorrect use of ctype.h functions.
[ffmpeg.git] / libavformat / rtmphttp.c
index d21ac67..3a51f7c 100644 (file)
@@ -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';