projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some clippy warnings
[nihav.git]
/
nihav-vivo
/
src
/
codecs
/
g723_1.rs
diff --git
a/nihav-vivo/src/codecs/g723_1.rs
b/nihav-vivo/src/codecs/g723_1.rs
index 2f650d8bda04abb015fc7e04bb2c39bd0685b51c..da000426fe973007cc9f6beb043c3645326bfe6d 100644
(file)
--- a/
nihav-vivo/src/codecs/g723_1.rs
+++ b/
nihav-vivo/src/codecs/g723_1.rs
@@
-938,9
+938,9
@@
impl NADecoder for G7231Decoder {
let abuf = alloc_audio_buffer(self.ainfo, SAMPLES, self.chmap.clone())?;
let mut adata = abuf.get_abuf_i16().unwrap();
let abuf = alloc_audio_buffer(self.ainfo, SAMPLES, self.chmap.clone())?;
let mut adata = abuf.get_abuf_i16().unwrap();
- let
mut
asamples = adata.get_data_mut().unwrap();
+ let asamples = adata.get_data_mut().unwrap();
if self.cur_ftype == G7231FrameType::Active {
if self.cur_ftype == G7231FrameType::Active {
- self.synth_frame_active(
&mut
asamples, bad_frame);
+ self.synth_frame_active(asamples, bad_frame);
} else {
self.synth_frame_other();
}
} else {
self.synth_frame_other();
}