X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-indeo%2Fsrc%2Fcodecs%2Fimc.rs;h=669e0fe9680f1014a61f77ef6e96c3c9f8dbd00a;hp=a48e43efdb2cbbad41bca7cb3a3ed7a2cff81ed5;hb=b70cc0062fd4d791ee20f23439a3b08a04921835;hpb=6e09a92e6b5a5d49f5f64e564ff3a93ca75a8a2e diff --git a/nihav-indeo/src/codecs/imc.rs b/nihav-indeo/src/codecs/imc.rs index a48e43e..669e0fe 100644 --- a/nihav-indeo/src/codecs/imc.rs +++ b/nihav-indeo/src/codecs/imc.rs @@ -896,7 +896,7 @@ impl NADecoder for IMCDecoder { let nblocks = pktbuf.len() / BLOCK_SIZE / (self.ainfo.get_channels() as usize); let duration = COEFFS * nblocks; - 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();