X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-realmedia%2Fsrc%2Fcodecs%2Fra144.rs;h=3587382e9a44e6ee98e1ad86e9060f347f521bbf;hb=e2392676887847227d2f3a65b7e6ed4f453d2897;hp=23e32f2aa5c4e4133f38392ebe1565b369500b41;hpb=3167c45c8087a692192021e08a8063dff680001c;p=nihav.git diff --git a/nihav-realmedia/src/codecs/ra144.rs b/nihav-realmedia/src/codecs/ra144.rs index 23e32f2..3587382 100644 --- 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 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();