]> git.nihav.org Git - nihav.git/commitdiff
realmedia: remove unneeded mut
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 18 May 2019 09:44:35 +0000 (11:44 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 18 May 2019 09:44:35 +0000 (11:44 +0200)
nihav-realmedia/src/demuxers/realmedia.rs

index 549d14d58ec54168d53e9839e734b65fe75672c6..6a30f1055fb5773e9018f227049de48e02c768ff 100644 (file)
@@ -106,7 +106,7 @@ const RM_ILEAVE_VBRS: u32 = mktag!(b"vbrs");
 impl RMAudioStream {
     fn new(iinfo: Option<InterleaveInfo>) -> Self {
         let deint;
-        let mut buf: Vec<u8>;
+        let buf: Vec<u8>;
         if let Some(info) = iinfo {
             deint = match info.id {
                     RM_ILEAVE_INT0 => Deinterleaver::None,