Module: libav Branch: master Commit: 4be368b504c6f4a03051448728fc62cd0ed506b2
Author: Martin Storsjö <[email protected]> Committer: Martin Storsjö <[email protected]> Date: Thu Mar 7 15:21:03 2013 +0200 avstring: Fix isxdigit to not accept non-hex characters Signed-off-by: Martin Storsjö <[email protected]> --- libavutil/avstring.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
