diff options
author | Martin Storsjö <martin@martin.st> | 2013-03-07 15:21:03 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-07 16:46:46 +0200 |
commit | 4be368b504c6f4a03051448728fc62cd0ed506b2 (patch) | |
tree | 4fa250bf03027721a1890e5af7981ba70d89daa5 | |
parent | 870add0de95d21e5a28c39634622f4a70cc77d25 (diff) | |
download | ffmpeg-4be368b504c6f4a03051448728fc62cd0ed506b2.tar.gz |
avstring: Fix isxdigit to not accept non-hex characters
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavutil/avstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 973ba4357e..818fbdb3c5 100644 --- a/libavutil/avstring.c +++ b/libavutil/avstring.c @@ -231,7 +231,7 @@ int av_isspace(int c) int av_isxdigit(int c) { c = av_tolower(c); - return av_isdigit(c) || (c >= 'a' && c <= 'z'); + return av_isdigit(c) || (c >= 'a' && c <= 'f'); } #ifdef TEST |