Skip to content

Commit

Permalink
Fix bpc decoding for digital interfaces in 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnk committed Jun 16, 2009
1 parent 3cb3464 commit dcf1bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ int main(int argc, char **argv)
nonconformant_digital_display = 1;
else
printf("%d bits per primary color channel\n",
(edid[0x14] >> 3) + 2);
((edid[0x14] & 0x70) >> 3) + 4);

switch (edid[0x14] & 0x0f) {
case 0x00: printf("Digital interface is not defined\n"); break;
Expand Down

0 comments on commit dcf1bbe

Please sign in to comment.