[FFmpeg-cvslog] avstring: Fix isxdigit to not accept non-hex characters
Martin Storsjö
git at videolan.org
Fri Mar 8 15:41:44 CET 2013
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Mar 7 15:21:03 2013 +0200| [4be368b504c6f4a03051448728fc62cd0ed506b2] | committer: Martin Storsjö
avstring: Fix isxdigit to not accept non-hex characters
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4be368b504c6f4a03051448728fc62cd0ed506b2
---
libavutil/avstring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 973ba43..818fbdb 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
More information about the ffmpeg-cvslog
mailing list