mark traits as dyn
[nihav.git] / nihav-indeo / src / codecs / indeo5.rs
index 17ac713ca7247799f6199786fdda9c3551b475d9..aece25dc6d637e2bfeadfba279d346b07ed6d69d 100644 (file)
@@ -711,7 +711,7 @@ const INDEO5_QSCALE4_INTER: [u8; 24] = [
     0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23
 ];
 
-pub fn get_decoder() -> Box<NADecoder> {
+pub fn get_decoder() -> Box<dyn NADecoder> {
     Box::new(Indeo5Decoder::new())
 }