Skip to content

Commit 2c189d6

Browse files
rogurotusrainliu
authored andcommitted
fmt
1 parent 33652b3 commit 2c189d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

rtp/src/header.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,14 @@ impl Header {
390390
self.extension = true;
391391
let mut extension_profile_len = 0;
392392
self.extension_profile = match payload.len() {
393-
0..=16 => { extension_profile_len = 1 ; EXTENSION_PROFILE_ONE_BYTE},
394-
17..=255 => { extension_profile_len = 2; EXTENSION_PROFILE_TWO_BYTE},
393+
0..=16 => {
394+
extension_profile_len = 1;
395+
EXTENSION_PROFILE_ONE_BYTE
396+
}
397+
17..=255 => {
398+
extension_profile_len = 2;
399+
EXTENSION_PROFILE_TWO_BYTE
400+
}
395401
_ => self.extension_profile,
396402
};
397403

0 commit comments

Comments
 (0)