OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870add0
)
avstring: Fix isxdigit to not accept non-hex characters
author
Martin Storsjö
<martin@martin.st>
Thu, 7 Mar 2013 13:21:03 +0000
(15:21 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 7 Mar 2013 14:46:46 +0000
(16:46 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/avstring.c
patch
|
blob
|
history
diff --git
a/libavutil/avstring.c
b/libavutil/avstring.c
index
973ba43
..
818fbdb
100644
(file)
--- 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