remove unnecessary parens

(the braces were added by "cargo fmt", making the parens redundant)
This commit is contained in:
Scott Lamb 2021-06-07 21:35:57 -07:00
parent cd407ce93a
commit 70012e300b

View File

@ -388,7 +388,7 @@ impl Depacketizer {
DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 5))
}
("audio", "pcma") | ("audio", "pcmu") | ("audio", "u8") | ("audio", "g722") => {
(DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 8)))
DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 8))
}
("audio", "l16") => {
DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 16))