From: Kostya Shishkov Date: Tue, 9 Nov 2021 17:24:04 +0000 (+0100) Subject: nihav_flash: enable codecs module only when encoders/decoders are enabled X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=576cd7d337fc80ec25bb1fc07fa2d25c5373f7b0;p=nihav.git nihav_flash: enable codecs module only when encoders/decoders are enabled --- diff --git a/nihav-flash/src/lib.rs b/nihav-flash/src/lib.rs index bfe1756..1aa08c3 100644 --- a/nihav-flash/src/lib.rs +++ b/nihav-flash/src/lib.rs @@ -2,6 +2,7 @@ extern crate nihav_core; extern crate nihav_codec_support; +#[cfg(any(feature="decoders", feature="encoders"))] mod codecs; #[cfg(feature="decoders")]