diff options
author | Reimar Döffinger | 2013-03-03 11:17:50 +0100 |
---|---|---|
committer | Reimar Döffinger | 2013-03-03 21:44:10 +0100 |
commit | 88d55b827d5ecac94c9ec399d219cc02b46ed694 (patch) | |
tree | 6aa644bd0328757eae325c5ba61df169d75cfa6e /libavutil/eval.c | |
parent | 2cffe38df3df8ee1ec0fea0b2a2d3fed6e75da0d (diff) |
Remove incorrect use of ctype.h functions.
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 <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r-- | libavutil/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 5d202249f0..1449e49468 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -33,6 +33,7 @@ #include "log.h" #include "mathematics.h" #include "time.h" +#include "avstring.h" typedef struct Parser { const AVClass *class; @@ -637,7 +638,7 @@ int av_expr_parse(AVExpr **expr, const char *s, return AVERROR(ENOMEM); while (*s) - if (!isspace(*s++)) *wp++ = s[-1]; + if (!av_isspace(*s++)) *wp++ = s[-1]; *wp++ = 0; p.class = &class; |