avstring: Fix isxdigit to not accept non-hex characters

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2013-03-07 15:21:03 +02:00
parent 870add0de9
commit 4be368b504
1 changed files with 1 additions and 1 deletions

View File

@ -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