aboutsummaryrefslogtreecommitdiffstats
path: root/edid-decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'edid-decode.h')
-rw-r--r--edid-decode.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/edid-decode.h b/edid-decode.h
index 998ccab..9c2044d 100644
--- a/edid-decode.h
+++ b/edid-decode.h
@@ -114,8 +114,8 @@ struct edid_state {
// CTA-861 block state
cta.has_vic_1 = cta.first_svd_might_be_preferred =
cta.has_hdmi = cta.has_vcdb = cta.has_vfpdb = false;
- cta.last_block_was_hdmi_vsdb = cta.have_hf_vsdb = cta.have_hf_scdb = 0;
- cta.first_block = 1;
+ cta.last_block_was_hdmi_vsdb = cta.have_hf_vsdb = cta.have_hf_scdb = false;
+ cta.first_block = cta.first_svd = true;
cta.supported_hdmi_vic_codes = cta.supported_hdmi_vic_vsb_codes = 0;
memset(cta.vics, 0, sizeof(cta.vics));
memset(cta.preparsed_has_vic, 0, sizeof(cta.preparsed_has_vic));
@@ -195,9 +195,10 @@ struct edid_state {
bool has_vcdb;
bool has_vfpdb;
unsigned short preparsed_phys_addr;
- int last_block_was_hdmi_vsdb;
- int have_hf_vsdb, have_hf_scdb;
- int first_block;
+ bool last_block_was_hdmi_vsdb;
+ bool have_hf_vsdb, have_hf_scdb;
+ bool first_block;
+ bool first_svd;
unsigned supported_hdmi_vic_codes;
unsigned supported_hdmi_vic_vsb_codes;
unsigned short vics[256][2];

Privacy Policy