projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nihav_flash: enable codecs module only when encoders/decoders are enabled
[nihav.git]
/
nihav-flash
/
src
/
lib.rs
diff --git
a/nihav-flash/src/lib.rs
b/nihav-flash/src/lib.rs
index bfe1756e096f8539f24414e99cf4a05f52528ead..1aa08c383739129b392835f3c02008d561ad8aeb 100644
(file)
--- 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")]