mirror of https://git.ffmpeg.org/ffmpeg.git
avstring: Fix isxdigit to not accept non-hex characters
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
870add0de9
commit
4be368b504
|
@ -231,7 +231,7 @@ int av_isspace(int c)
|
||||||
int av_isxdigit(int c)
|
int av_isxdigit(int c)
|
||||||
{
|
{
|
||||||
c = av_tolower(c);
|
c = av_tolower(c);
|
||||||
return av_isdigit(c) || (c >= 'a' && c <= 'z');
|
return av_isdigit(c) || (c >= 'a' && c <= 'f');
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
|
Loading…
Reference in New Issue