path: root/edid-decode.cpp
diff options
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-01-15 11:02:22 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-01-15 11:02:22 +0100
commitf48427bcd5d079d2ddea31bc26cc919ebabb2b8d (patch)
tree57fbbf5f9743c603e3f73c57bbe799690532bf4c /edid-decode.cpp
parent31144f33569bfe2acb50e0c2e52fdf53bd8eb6d8 (diff)
edid-decode: improve RCDB/SLDB checks
CTA-861-H more clearly described the relationship between the RCDB and SLDB Data Blocks, so implement new checks that verify the correctness of these DBs. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'edid-decode.cpp')
1 files changed, 1 insertions, 1 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp
index a8fcb94..b98c941 100644
--- a/edid-decode.cpp
+++ b/edid-decode.cpp
@@ -201,7 +201,7 @@ void calc_ratio(struct timings *t)
std::string edid_state::dtd_type(unsigned cnt)
- unsigned len = std::to_string(cta.preparse_total_dtds).length();
+ unsigned len = std::to_string(cta.preparsed_total_dtds).length();
char buf[16];
sprintf(buf, "DTD %*u", len, cnt);
return buf;

Privacy Policy