diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-12-09 18:16:44 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-12-09 18:16:44 +0100 |
commit | 76c275c9640ed6dabf1f65ee115452ebef162e4d (patch) | |
tree | 60bb414a64d74febd2762da906d29d9617bb6998 | |
parent | 8809c626d8dbe3c3f09f15396410680cc4c1fbba (diff) | |
download | nihav-76c275c9640ed6dabf1f65ee115452ebef162e4d.tar.gz |
rmdemux: Sipro deinterleaver should work on whole frame
-rw-r--r-- | nihav-realmedia/src/demuxers/realmedia.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |