projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix allocated buffer mutability after previous commit
[nihav.git]
/
nihav-commonfmt
/
src
/
codecs
/
sipro.rs
diff --git
a/nihav-commonfmt/src/codecs/sipro.rs
b/nihav-commonfmt/src/codecs/sipro.rs
index 8820a011149d5d2ae5826c7b6e7087ed156f5f76..b6cab622224c88ec6f2764a76990b0f9fc6e6151 100644
(file)
--- a/
nihav-commonfmt/src/codecs/sipro.rs
+++ b/
nihav-commonfmt/src/codecs/sipro.rs
@@
-680,7
+680,7
@@
impl NADecoder for SiproDecoder {
let duration = out_frm_size * nframes;
let duration = out_frm_size * nframes;
- let
mut
abuf = alloc_audio_buffer(self.ainfo, duration, self.chmap.clone())?;
+ let abuf = alloc_audio_buffer(self.ainfo, duration, self.chmap.clone())?;
let mut adata = abuf.get_abuf_f32().unwrap();
let mut dst = adata.get_data_mut();
let mut adata = abuf.get_abuf_f32().unwrap();
let mut dst = adata.get_data_mut();