introduce option handling for decoders
[nihav.git] / nihav-commonfmt / src / codecs / aac.rs
index 6de5a963e0ec2d8fc0269866b0ceac4f5ba17e08..0c65d50b1576020c7dcd259dab7c92445de4fee9 100644 (file)
@@ -1258,6 +1258,12 @@ impl NADecoder for AACDecoder {
     }
 }
 
+impl NAOptionHandler for AACDecoder {
+    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(AACDecoder::new())
 }