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-realmedia
/
src
/
codecs
/
ra144.rs
diff --git
a/nihav-realmedia/src/codecs/ra144.rs
b/nihav-realmedia/src/codecs/ra144.rs
index 23e32f2aa5c4e4133f38392ebe1565b369500b41..3587382e9a44e6ee98e1ad86e9060f347f521bbf 100644
(file)
--- a/
nihav-realmedia/src/codecs/ra144.rs
+++ b/
nihav-realmedia/src/codecs/ra144.rs
@@
-264,7
+264,7
@@
impl NADecoder for RA144Decoder {
let duration = NBLOCKS * BLOCKSIZE * nframes;
let duration = NBLOCKS * BLOCKSIZE * 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_i16().unwrap();
let mut dst = adata.get_data_mut();
let mut adata = abuf.get_abuf_i16().unwrap();
let mut dst = adata.get_data_mut();