There was an error while loading. Please reload this page.
1 parent 4c5f3e2 commit 59184c0Copy full SHA for 59184c0
lofty/src/aac/header.rs
@@ -100,7 +100,8 @@ impl ADTSHeader {
100
// MMMOOOOO
101
let byte6 = header[5];
102
103
-let len = (u16::from(byte4 & 0b11) << 11) | (u16::from(byte5) << 3) | (u16::from(byte6) >> 5);
+let len =
104
+(u16::from(byte4 & 0b11) << 11) | (u16::from(byte5) << 3) | (u16::from(byte6) >> 5);
105
let bitrate = ((u32::from(len) * sample_rate / 1024) * 8) / 1024;
106
107
if needs_crc_skip {
0 commit comments