introduce option handling for decoders
[nihav.git] / nihav-ms / src / codecs / msadpcm.rs
index d906e4ca89e98bd2cce7c83906565c59391503e5..de6f447068c99f81e60843182facf612c90ca993 100644 (file)
@@ -161,6 +161,12 @@ impl NADecoder for MSADPCMDecoder {
     }
 }
 
+impl NAOptionHandler for MSADPCMDecoder {
+    fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+    fn set_options(&mut self, _options: &[NAOption]) { }
+    fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
+
 pub fn get_decoder() -> Box<dyn NADecoder + Send> {
     Box::new(MSADPCMDecoder::new())
 }