projects
/
nihav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9694aa
)
nihav_flash: enable codecs module only when encoders/decoders are enabled
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 9 Nov 2021 17:24:04 +0000
(18:24 +0100)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 9 Nov 2021 17:24:04 +0000
(18:24 +0100)
nihav-flash/src/lib.rs
patch
|
blob
|
blame
|
history
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")]