edid-decode: fix incorrect first SVD handling

The CTA-861-G specification says that both the first DTD and the
first SVD are preferred timings. If 'total number of native DTDs'
is 0, then the first SVD is to be preferred over the first DTD.

Signed-off-by: Hans Verkuil <[email protected]>
2 files changed