aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-22 17:47:07 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-22 17:47:07 +0100
commit770c658e5fefe3c67c8fc1bd5162bf4240a3c8a4 (patch)
tree1548137b2cde767a84baec78afc4cdfb6e57882f
parent4f91832229968bb88b14aa0d85f7981643305ba4 (diff)
edid-decode: drop duplicate assign to t.vsync
edid_cvt_mode() assigns t.vsync twice. Drop the first assignment. Reported by val.zapod.vz@gmail.com. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--parse-base-block.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse-base-block.cpp b/parse-base-block.cpp
index 965d04c..9a88083 100644
--- a/parse-base-block.cpp
+++ b/parse-base-block.cpp
@@ -573,7 +573,6 @@ void edid_state::edid_cvt_mode(unsigned refresh, struct timings &t)
VSync = 7;
else /* Custom */
VSync = 10;
- t.vsync = VSync;
if (!t.rb) { /* simplified GTF calculation */
/* 4) Minimum time of vertical sync + back porch interval (┬Ás)

Privacy Policy