From: Kostya Shishkov Date: Sat, 18 May 2019 09:44:35 +0000 (+0200) Subject: realmedia: remove unneeded mut X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=1f4aa1f4c23696aeefbd77be1713855958c17693;p=nihav.git realmedia: remove unneeded mut --- diff --git a/nihav-realmedia/src/demuxers/realmedia.rs b/nihav-realmedia/src/demuxers/realmedia.rs index 549d14d..6a30f10 100644 --- a/nihav-realmedia/src/demuxers/realmedia.rs +++ b/nihav-realmedia/src/demuxers/realmedia.rs @@ -106,7 +106,7 @@ const RM_ILEAVE_VBRS: u32 = mktag!(b"vbrs"); impl RMAudioStream { fn new(iinfo: Option) -> Self { let deint; - let mut buf: Vec; + let buf: Vec; if let Some(info) = iinfo { deint = match info.id { RM_ILEAVE_INT0 => Deinterleaver::None,