]> git.nihav.org Git - nihav.git/commitdiff
fix copy-paste error
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 20 May 2017 13:30:04 +0000 (15:30 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 20 May 2017 13:30:04 +0000 (15:30 +0200)
src/codecs/mod.rs

index ff75af9fbd4a0c9532bc3d7f49e6b1b4b9d6573e..ddb98e42abcf6a1ea9697df8e35a2f07ca19d23d 100644 (file)
@@ -43,14 +43,14 @@ pub trait NADecoder {
 }
 
 #[derive(Clone,Copy)]
-pub struct DemuxerInfo {
+pub struct DecoderInfo {
     name: &'static str,
     get_decoder: fn () -> Box<NADecoder>,
 }
 
-const DECODERS: &[DemuxerInfo] = &[
+const DECODERS: &[DecoderInfo] = &[
 #[cfg(feature="decoder_indeo2")]
-    DemuxerInfo { name: "indeo2", get_decoder: indeo2::get_decoder },
+    DecoderInfo { name: "indeo2", get_decoder: indeo2::get_decoder },
 ];
 
 pub fn find_decoder(name: &str) -> Option<fn () -> Box<NADecoder>> {