Skip to content

Commit 59184c0

Browse files
committed
fmt
1 parent 4c5f3e2 commit 59184c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lofty/src/aac/header.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ impl ADTSHeader {
100100
// MMMOOOOO
101101
let byte6 = header[5];
102102

103-
let len = (u16::from(byte4 & 0b11) << 11) | (u16::from(byte5) << 3) | (u16::from(byte6) >> 5);
103+
let len =
104+
(u16::from(byte4 & 0b11) << 11) | (u16::from(byte5) << 3) | (u16::from(byte6) >> 5);
104105
let bitrate = ((u32::from(len) * sample_rate / 1024) * 8) / 1024;
105106

106107
if needs_crc_skip {

0 commit comments

Comments
 (0)