projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make decoders Send-able
[nihav.git]
/
nihav-game
/
src
/
codecs
/
vmd.rs
diff --git
a/nihav-game/src/codecs/vmd.rs
b/nihav-game/src/codecs/vmd.rs
index abcb0af7c05915ab305485d9ec0b765b038f917a..a228707bb0fce5d36b39bd66a93c37dd46eb9156 100644
(file)
--- a/
nihav-game/src/codecs/vmd.rs
+++ b/
nihav-game/src/codecs/vmd.rs
@@
-270,7
+270,7
@@
impl NADecoder for VMDVideoDecoder {
}
}
-pub fn get_decoder_video() -> Box<dyn NADecoder> {
+pub fn get_decoder_video() -> Box<dyn NADecoder
+ Send
> {
Box::new(VMDVideoDecoder::new())
}
Box::new(VMDVideoDecoder::new())
}
@@
-443,7
+443,7
@@
impl NADecoder for VMDAudioDecoder {
}
}
}
}
-pub fn get_decoder_audio() -> Box<dyn NADecoder> {
+pub fn get_decoder_audio() -> Box<dyn NADecoder
+ Send
> {
Box::new(VMDAudioDecoder::new())
}
Box::new(VMDAudioDecoder::new())
}