From c3904fe5804a28e73822c27c69ba10a716cb290d Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 22 Jan 2019 11:38:07 +0100 Subject: [PATCH] remove unused imports --- nihav-commonfmt/src/codecs/clearvideo.rs | 1 - nihav-commonfmt/src/codecs/pcm.rs | 1 - nihav-commonfmt/src/demuxers/avi.rs | 3 --- nihav-game/src/demuxers/gdv.rs | 2 -- nihav-indeo/src/codecs/indeo2.rs | 1 - nihav-indeo/src/codecs/indeo3.rs | 1 - nihav-indeo/src/codecs/ivibr.rs | 2 -- nihav-realmedia/src/demuxers/realmedia.rs | 3 --- 8 files changed, 14 deletions(-) diff --git a/nihav-commonfmt/src/codecs/clearvideo.rs b/nihav-commonfmt/src/codecs/clearvideo.rs index 6b66dfa..51f93da 100644 --- a/nihav-commonfmt/src/codecs/clearvideo.rs +++ b/nihav-commonfmt/src/codecs/clearvideo.rs @@ -5,7 +5,6 @@ use nihav_core::io::bitreader::*; use nihav_core::io::codebook::*; use nihav_core::formats; use nihav_core::codecs::*; -use nihav_core::frame::*; use std::fmt; use std::ops::{Add, Sub}; diff --git a/nihav-commonfmt/src/codecs/pcm.rs b/nihav-commonfmt/src/codecs/pcm.rs index 7a71051..b718b67 100644 --- a/nihav-commonfmt/src/codecs/pcm.rs +++ b/nihav-commonfmt/src/codecs/pcm.rs @@ -2,7 +2,6 @@ use std::rc::Rc; use std::cell::RefCell; use nihav_core::formats::*; use nihav_core::codecs::*; -use nihav_core::frame::*; struct PCMDecoder { chmap: NAChannelMap } diff --git a/nihav-commonfmt/src/demuxers/avi.rs b/nihav-commonfmt/src/demuxers/avi.rs index d690dd6..da941b3 100644 --- a/nihav-commonfmt/src/demuxers/avi.rs +++ b/nihav-commonfmt/src/demuxers/avi.rs @@ -1,9 +1,6 @@ use nihav_core::demuxers::*; use nihav_core::register; use nihav_core::demuxers::DemuxerError::*; -use nihav_core::io::byteio::*; -use nihav_core::frame::*; -use nihav_core::formats::*; macro_rules! mktag { ($a:expr, $b:expr, $c:expr, $d:expr) => ({ diff --git a/nihav-game/src/demuxers/gdv.rs b/nihav-game/src/demuxers/gdv.rs index 6acacc1..8d407f9 100644 --- a/nihav-game/src/demuxers/gdv.rs +++ b/nihav-game/src/demuxers/gdv.rs @@ -1,7 +1,5 @@ use nihav_core::frame::*; use nihav_core::demuxers::*; -use nihav_core::io::byteio::*; -use nihav_core::formats::*; //use std::collections::HashMap; enum GDVState { diff --git a/nihav-indeo/src/codecs/indeo2.rs b/nihav-indeo/src/codecs/indeo2.rs index a218625..c03d2c2 100644 --- a/nihav-indeo/src/codecs/indeo2.rs +++ b/nihav-indeo/src/codecs/indeo2.rs @@ -4,7 +4,6 @@ use nihav_core::io::bitreader::*; use nihav_core::io::codebook::*; use nihav_core::formats; use nihav_core::codecs::*; -use nihav_core::frame::*; static INDEO2_DELTA_TABLE: [[u8; 256]; 4] = [ [ diff --git a/nihav-indeo/src/codecs/indeo3.rs b/nihav-indeo/src/codecs/indeo3.rs index 793ef63..892f193 100644 --- a/nihav-indeo/src/codecs/indeo3.rs +++ b/nihav-indeo/src/codecs/indeo3.rs @@ -2,7 +2,6 @@ use std::rc::Rc; use std::cell::RefCell; use nihav_core::formats; use nihav_core::codecs::*; -use nihav_core::frame::*; use nihav_core::io::byteio::*; use std::io::SeekFrom; use std::mem; diff --git a/nihav-indeo/src/codecs/ivibr.rs b/nihav-indeo/src/codecs/ivibr.rs index 10581c8..f0ba82c 100644 --- a/nihav-indeo/src/codecs/ivibr.rs +++ b/nihav-indeo/src/codecs/ivibr.rs @@ -4,8 +4,6 @@ use std::cell::{Ref,RefCell}; use nihav_core::io::bitreader::*; //use io::intcode::*; use nihav_core::codecs::*; -use nihav_core::formats::*; -use nihav_core::frame::*; use super::ivi::*; use super::ividsp::*; diff --git a/nihav-realmedia/src/demuxers/realmedia.rs b/nihav-realmedia/src/demuxers/realmedia.rs index 22d964e..e0e41e0 100644 --- a/nihav-realmedia/src/demuxers/realmedia.rs +++ b/nihav-realmedia/src/demuxers/realmedia.rs @@ -1,8 +1,5 @@ use super::*; use nihav_core::demuxers::DemuxerError::*; -use nihav_core::io::byteio::*; -use nihav_core::frame::*; -use nihav_core::formats::*; use std::io::SeekFrom; use std::mem; use std::fmt; -- 2.39.5