aboutsummaryrefslogtreecommitdiffstats
path: root/parse-displayid-block.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-27 15:34:50 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-27 15:34:50 +0200
commita0ae044573f7a68b8eb40c40719743cb64b11381 (patch)
tree564208aaa3413d6b42ca48d91567c9a8959bc98f /parse-displayid-block.cpp
parentb7049c80880f6fcd1552ce9999b468d627a0a8b6 (diff)
edid-decode: fix reporting PNP as a proper PNP
The PNP for a DisplayID 1.2 data block was reported as an OUI due to incorrect logic. Fixed this. Also use big endian for the Product Identification Data Block 0x00. That's a better match with the hex identifier 0x415050 ('APP'). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-displayid-block.cpp')
-rw-r--r--parse-displayid-block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-displayid-block.cpp b/parse-displayid-block.cpp
index e512394..d527bf2 100644
--- a/parse-displayid-block.cpp
+++ b/parse-displayid-block.cpp
@@ -1651,7 +1651,7 @@ unsigned edid_state::displayid_block(const unsigned version, const unsigned char
// DisplayID 1.3:
case 0x00:
data_block_oui("Product Identification Data Block (" + utohex(tag) + ")",
- x + 3, len, &ouinum, true, true, false);
+ x + 3, len, &ouinum, true, true, true);
dooutputname = false;
hasoui = true;
break;

Privacy Policy