From b1ef37eea50d462656629fd12965685f5334a8ec Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 23 Nov 2017 18:55:33 +0100 Subject: [PATCH] rm: silence some warnings --- src/demuxers/realmedia.rs | 3 +++ 1 file changed, 3 insertions(+) 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"), -- 2.39.5