From: Kostya Shishkov Date: Mon, 9 Dec 2019 17:16:44 +0000 (+0100) Subject: rmdemux: Sipro deinterleaver should work on whole frame X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=76c275c9640ed6dabf1f65ee115452ebef162e4d;p=nihav.git rmdemux: Sipro deinterleaver should work on whole frame --- diff --git a/nihav-realmedia/src/demuxers/realmedia.rs b/nihav-realmedia/src/demuxers/realmedia.rs index 5b2dff5..feeb390 100644 --- a/nihav-realmedia/src/demuxers/realmedia.rs +++ b/nihav-realmedia/src/demuxers/realmedia.rs @@ -224,7 +224,7 @@ impl RMAudioStream { self.sub_packet = 0; if self.deint == Deinterleaver::Sipro { - sipro_restore(&mut self.buf, factor, fsize); + sipro_restore(&mut self.buf, factor, iinfo.frame_size as usize); } let mut frames_iter = self.buf.chunks(fsize);