From: Kostya Shishkov Date: Thu, 23 Nov 2017 17:55:33 +0000 (+0100) Subject: rm: silence some warnings X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=b1ef37eea50d462656629fd12965685f5334a8ec;p=nihav.git rm: silence some warnings --- diff --git a/src/demuxers/realmedia.rs b/src/demuxers/realmedia.rs index 3d78484..144153b 100644 --- a/src/demuxers/realmedia.rs +++ b/src/demuxers/realmedia.rs @@ -68,6 +68,7 @@ impl RMVideoStream { } } +#[allow(dead_code)] #[derive(Clone,Copy,PartialEq)] enum Deinterleaver { None, @@ -76,6 +77,7 @@ enum Deinterleaver { VBR, } +#[allow(dead_code)] struct RMAudioStream { deint: Deinterleaver, } @@ -574,6 +576,7 @@ static RM_VIDEO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[ (b"CLV1", "clearvideo"), ]; +#[allow(dead_code)] static RM_AUDIO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[ (b"lpcJ", "ra14.4"), (b"28_8", "ra28.8"),