diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-03 11:17:50 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-03 21:44:10 +0100 |
commit | 88d55b827d5ecac94c9ec399d219cc02b46ed694 (patch) | |
tree | 6aa644bd0328757eae325c5ba61df169d75cfa6e /libavfilter/vsrc_life.c | |
parent | 2cffe38df3df8ee1ec0fea0b2a2d3fed6e75da0d (diff) | |
download | ffmpeg-88d55b827d5ecac94c9ec399d219cc02b46ed694.tar.gz |
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 'libavfilter/vsrc_life.c')
-rw-r--r-- | libavfilter/vsrc_life.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index d8b8355126..d548ab46e0 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -31,6 +31,7 @@ #include "libavutil/opt.h" #include "libavutil/parseutils.h" #include "libavutil/random_seed.h" +#include "libavutil/avstring.h" #include "avfilter.h" #include "internal.h" #include "formats.h" @@ -212,7 +213,7 @@ static int init_pattern_from_file(AVFilterContext *ctx) if (*p == '\n') { p++; break; } else - life->buf[0][i*life->w + j] = isgraph(*(p++)) ? ALIVE_CELL : 0; + life->buf[0][i*life->w + j] = av_isgraph(*(p++)) ? ALIVE_CELL : 0; } } life->buf_idx = 0; |