From d6c81913b6633bb6a44aad6f8ca06cee55e26660 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 7 Aug 2021 18:30:52 +0200 Subject: [PATCH] codec_support: derive usual traits for IMA ADPCM state --- nihav-codec-support/src/codecs/imaadpcm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nihav-codec-support/src/codecs/imaadpcm.rs b/nihav-codec-support/src/codecs/imaadpcm.rs index a2da1d3..ac2d082 100644 --- a/nihav-codec-support/src/codecs/imaadpcm.rs +++ b/nihav-codec-support/src/codecs/imaadpcm.rs @@ -24,6 +24,7 @@ pub const IMA_STEP_TABLE: [i32; 89] = [ ///! Maximum step value for IMA ADPCM. pub const IMA_MAX_STEP: u8 = 88; +#[derive(Clone,Copy,Debug)] ///! Decoder for IMA ADPCM. pub struct IMAState { ///! Current sample value. -- 2.39.5