Commit 4be368b5 authored by Martin Storsjö's avatar Martin Storsjö

avstring: Fix isxdigit to not accept non-hex characters

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 870add0d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment