diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-03 11:17:50 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-07 15:16:36 +0200 |
commit | efa7f4202088c70caba11d7834641bc6eaf41830 (patch) | |
tree | 7ef0beba253b642affcc69f634f192fdc7c12428 /compat | |
parent | 12c5c1d3e3906e18a96ec380605d2f1504fc3d3b (diff) | |
download | ffmpeg-efa7f4202088c70caba11d7834641bc6eaf41830.tar.gz |
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 'compat')
-rw-r--r-- | compat/strtod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/strtod.c b/compat/strtod.c index 7e979e8be6..258909f409 100644 --- a/compat/strtod.c +++ b/compat/strtod.c @@ -19,7 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <ctype.h> #include <limits.h> #include <stdlib.h> @@ -49,7 +48,7 @@ double avpriv_strtod(const char *nptr, char **endptr) double res; /* Skip leading spaces */ - while (isspace(*nptr)) + while (av_isspace(*nptr)) nptr++; if (!av_strncasecmp(nptr, "infinity", 8)) { |