From: Hans Verkuil <hansv...@cisco.com> Useful when the hex dump comes from source code.
Signed-off-by: Hans Verkuil <hansv...@cisco.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edid-decode.c b/edid-decode.c index d38d2a3d..ea443259 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -1976,7 +1976,7 @@ extract_edid(int fd) } /* Is the EDID provided in hex? */ - for (i = 0; i < 32 && (isspace(ret[i]) || tolower(ret[i]) == 'x' || isxdigit(ret[i])); i++); + for (i = 0; i < 32 && (isspace(ret[i]) || ret[i] == ',' || tolower(ret[i]) == 'x' || isxdigit(ret[i])); i++); if (i == 32) { out = malloc(size >> 1); if (out == NULL) { -- 2.14.1 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel