aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-09-07 10:58:48 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-09-07 10:58:48 +0200
commit9541a323d1b5a4e22a116b9b3bf08439cddfc438 (patch)
tree7bcf55a041d00a31b9baf507c385a406c616be98
parentcc7c2e055c56eef31b5be28de787ea46d3eac791 (diff)
edid-decode: improve Basic Audio fail message
The phrasing was awkward, improve it. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--parse-cta-block.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index 19d1257..45ffc9a 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -1683,8 +1683,7 @@ void edid_state::cta_ext_block(const unsigned char *x, unsigned length)
}
if (audio_block && !(cta.byte3 & 0x40))
- fail("%s is present, but bit 6 of Byte 3 indicates no Basic Audio support.\n",
- data_block.c_str());
+ fail("audio information is present, but bit 6 of Byte 3 indicates no Basic Audio support.\n");
if (data_block.length())
printf(" %s:\n", data_block.c_str());
@@ -1875,8 +1874,7 @@ void edid_state::cta_block(const unsigned char *x)
}
if (audio_block && !(cta.byte3 & 0x40))
- fail("%s is present, but bit 6 of Byte 3 indicates no Basic Audio support.\n",
- data_block.c_str());
+ fail("audio information is present, but bit 6 of Byte 3 indicates no Basic Audio support.\n");
cta.first_block = 0;
cta.last_block_was_hdmi_vsdb = 0;
}

Privacy Policy