summaryrefslogtreecommitdiffstats
path: root/libavcodec/realtextdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/realtextdec.c')
-rw-r--r--libavcodec/realtextdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/realtextdec.c b/libavcodec/realtextdec.c
index 102e0d9..4578897 100644
--- a/libavcodec/realtextdec.c
+++ b/libavcodec/realtextdec.c
@@ -35,11 +35,11 @@ static int rt_event_to_ass(AVBPrint *buf, const char *p)
while (*p) {
if (*p != '<') {
- if (!isspace(*p))
+ if (!av_isspace(*p))
av_bprint_chars(buf, *p, 1);
else if (!prev_chr_is_space)
av_bprint_chars(buf, ' ', 1);
- prev_chr_is_space = isspace(*p);
+ prev_chr_is_space = av_isspace(*p);
} else {
const char *end = strchr(p, '>');
if (!end)
OpenPOWER on IntegriCloud