This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: edid-decode: fix incorrect message Author: Hans Verkuil <hverk...@xs4all.nl> Date: Mon Feb 17 09:29:03 2025 +0100 If an InfoFrame has too many bytes, the message would say: AVI InfoFrame: There are -2 dummy bytes after the payload. The calculation was wrong, leading to the negative number. Fix this. Signed-off-by: Hans Verkuil <hverk...@xs4all.nl> utils/edid-decode/parse-if.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=55f82dc073506400da9961dc5c95e5a9924f6bfb diff --git a/utils/edid-decode/parse-if.cpp b/utils/edid-decode/parse-if.cpp index e04306f75818..3144db88300f 100644 --- a/utils/edid-decode/parse-if.cpp +++ b/utils/edid-decode/parse-if.cpp @@ -25,7 +25,7 @@ int edid_state::parse_if_hdr(const unsigned char *x, unsigned size, unsigned cha return -1; } if (length + 3U < size) { - warn("There are %d dummy bytes after the payload.\n", length + 3 - size); + warn("There are %d dummy bytes after the payload.\n", size - length - 3); if (!memchk(x + length + 3, length + 3 - size)) warn("There are non-zero dummy bytes after the payload.\n"); }