X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fsipro.rs;h=b6cab622224c88ec6f2764a76990b0f9fc6e6151;hp=8820a011149d5d2ae5826c7b6e7087ed156f5f76;hb=b70cc0062fd4d791ee20f23439a3b08a04921835;hpb=6e09a92e6b5a5d49f5f64e564ff3a93ca75a8a2e diff --git a/nihav-commonfmt/src/codecs/sipro.rs b/nihav-commonfmt/src/codecs/sipro.rs index 8820a01..b6cab62 100644 --- 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 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();