From 576cd7d337fc80ec25bb1fc07fa2d25c5373f7b0 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 9 Nov 2021 18:24:04 +0100 Subject: [PATCH] nihav_flash: enable codecs module only when encoders/decoders are enabled --- nihav-flash/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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")] -- 2.39.5