Browse Source

avstring: Fix isxdigit to not accept non-hex characters

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.0
Martin Storsjö 12 years ago
parent
commit
4be368b504
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/avstring.c

+ 1
- 1
libavutil/avstring.c 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


Loading…
Cancel
Save