aboutsummaryrefslogtreecommitdiffstats
path: root/parse-cta-block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parse-cta-block.cpp')
-rw-r--r--parse-cta-block.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index 2411040..98ec2ee 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -332,12 +332,13 @@ static void cta_audio_block(const unsigned char *x, unsigned length)
if (x[i+2] & 2)
printf(" Supports Joint Object Coding with ACMOD28\n");
} else if (format == 12) {
- if (x[i+2] & 1)
+ if (x[i+2] & 1) {
printf(" Supports Dolby TrueHD, object audio PCM and channel-based PCM\n");
- else
+ printf(" Hash calculation %srequired for object audio PCM or channel-based PCM\n",
+ (x[i+2] & 2) ? "not " : "");
+ } else {
printf(" Supports only Dolby TrueHD\n");
- printf(" Hash calculation %srequired for object audio PCM or channel-based PCM\n",
- (x[i+2] & 2) ? "not " : "");
+ }
} else if (format == 14) {
printf(" Profile: %u\n", x[i+2] & 7);
} else if (format >= 9 && format <= 13) {

Privacy Policy