From 2a4130ba5dc9b9b8c34222997a0298a372578987 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 20 May 2017 15:30:04 +0200 Subject: [PATCH] fix copy-paste error --- src/codecs/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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> { -- 2.39.5