]> git.nihav.org Git - nihav.git/commitdiff
rm: silence some warnings
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 23 Nov 2017 17:55:33 +0000 (18:55 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 23 Nov 2017 18:47:00 +0000 (19:47 +0100)
src/demuxers/realmedia.rs

index 3d7848480dce8d4ba048cf2cae032abeebcce1d8..144153b887f4f9873c8433890e83cb58a12f6906 100644 (file)
@@ -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"),