We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33652b3 commit 2c189d6Copy full SHA for 2c189d6
rtp/src/header.rs
@@ -390,8 +390,14 @@ impl Header {
390
self.extension = true;
391
let mut extension_profile_len = 0;
392
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},
+ 0..=16 => {
+ extension_profile_len = 1;
395
+ EXTENSION_PROFILE_ONE_BYTE
396
+ }
397
+ 17..=255 => {
398
+ extension_profile_len = 2;
399
+ EXTENSION_PROFILE_TWO_BYTE
400
401
_ => self.extension_profile,
402
};
403
0 commit comments