diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2018-09-05 15:47:24 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2018-09-05 16:11:07 +0200 |
commit | 37d2275ee8efd4dea7be5dcf06f25ba622e7142e (patch) | |
tree | 800488fc13f5790a02db4e0b3d0e5d8434b57b1f /src/codecs/mod.rs | |
parent | fe07b469b3daf8eb4a1be6c3781f9d8c643e70af (diff) | |
download | nihav-37d2275ee8efd4dea7be5dcf06f25ba622e7142e.tar.gz |
RealAudio 14.4 and 28.8 decoders
Diffstat (limited to 'src/codecs/mod.rs')
-rw-r--r-- | src/codecs/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/codecs/mod.rs b/src/codecs/mod.rs index 185bb3d..61f4c21 100644 --- a/src/codecs/mod.rs +++ b/src/codecs/mod.rs @@ -246,7 +246,7 @@ mod gremlinvideo; mod indeo; #[cfg(feature="h263")] mod h263; -#[cfg(any(feature="decoder_realvideo3", feature="decoder_realvideo4", feature="decoder_realvideo6"))] +#[cfg(any(feature="decoder_realvideo3", feature="decoder_realvideo4", feature="decoder_realvideo6", feature="decoder_realaudio144", feature="decoder_realaudio288"))] mod real; #[cfg(feature="decoder_pcm")] @@ -286,6 +286,10 @@ const DECODERS: &[DecoderInfo] = &[ DecoderInfo { name: "imc", get_decoder: indeo::imc::get_decoder_imc }, #[cfg(feature="decoder_imc")] DecoderInfo { name: "iac", get_decoder: indeo::imc::get_decoder_iac }, +#[cfg(feature="decoder_realaudio144")] + DecoderInfo { name: "ra14.4", get_decoder: real::ra144::get_decoder }, +#[cfg(feature="decoder_realaudio288")] + DecoderInfo { name: "ra28.8", get_decoder: real::ra288::get_decoder }, ]; pub fn find_decoder(name: &str) -> Option<fn () -> Box<NADecoder>> { |