make decoders Send-able
[nihav.git] / nihav-realmedia / src / codecs / rv20.rs
index b312a128c8c4e5e4d0e60562fcb127e1185b4248..1db190f5bc2ae0387cef5e059ba2278da967348b 100644 (file)
@@ -519,7 +519,7 @@ const H263_MBB: &[MBB; 7] = &[
     MBB{ blocks: 65536, bits: 14 },
 ];
 
-pub fn get_decoder() -> Box<dyn NADecoder> {
+pub fn get_decoder() -> Box<dyn NADecoder + Send> {
     Box::new(RealVideo20Decoder::new())
 }