From: Kostya Shishkov Date: Sat, 20 May 2017 13:30:04 +0000 (+0200) Subject: fix copy-paste error X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=2a4130ba5dc9b9b8c34222997a0298a372578987;p=nihav.git fix copy-paste error --- diff --git a/src/codecs/mod.rs b/src/codecs/mod.rs index ff75af9..ddb98e4 100644 --- a/src/codecs/mod.rs +++ b/src/codecs/mod.rs @@ -43,14 +43,14 @@ pub trait NADecoder { } #[derive(Clone,Copy)] -pub struct DemuxerInfo { +pub struct DecoderInfo { name: &'static str, get_decoder: fn () -> Box, } -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 Box> {