diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-01-18 10:19:31 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-01-18 10:19:31 +0100 |
commit | 674ebc332a586c1e8ca1050f2c23395d9f970ac0 (patch) | |
tree | d2ab1a862ce81224655e699cfcaffb4d94fb068b /nihav-core/src/codecs/mod.rs | |
parent | 3167c45c8087a692192021e08a8063dff680001c (diff) | |
download | nihav-674ebc332a586c1e8ca1050f2c23395d9f970ac0.tar.gz |
fix warnings
Diffstat (limited to 'nihav-core/src/codecs/mod.rs')
-rw-r--r-- | nihav-core/src/codecs/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nihav-core/src/codecs/mod.rs b/nihav-core/src/codecs/mod.rs index 76c683d..4edb2ee 100644 --- a/nihav-core/src/codecs/mod.rs +++ b/nihav-core/src/codecs/mod.rs @@ -3,7 +3,6 @@ use std::ops::{Add, AddAssign, Sub, SubAssign}; use crate::frame::*; use std::rc::Rc; -use std::cell::RefCell; use std::mem; use crate::io::byteio::ByteIOError; use crate::io::bitreader::BitReaderError; @@ -45,10 +44,6 @@ impl From<AllocatorError> for DecoderError { fn from(_: AllocatorError) -> Self { DecoderError::AllocError } } -macro_rules! validate { - ($a:expr) => { if !$a { println!("check failed at {}:{}", file!(), line!()); return Err(DecoderError::InvalidData); } }; -} - #[allow(dead_code)] pub struct HAMShuffler { lastframe: Option<NAVideoBuffer<u8>>, |