projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mark traits as dyn
[nihav.git]
/
nihav-game
/
src
/
codecs
/
bmv3.rs
diff --git
a/nihav-game/src/codecs/bmv3.rs
b/nihav-game/src/codecs/bmv3.rs
index f6067cf308a663c8d34b2bd8b3ab42e503482cc3..b30628e9b2fd84420328fe654a7bc4698b37a9d2 100644
(file)
--- a/
nihav-game/src/codecs/bmv3.rs
+++ b/
nihav-game/src/codecs/bmv3.rs
@@
-509,7
+509,7
@@
impl NADecoder for BMV3VideoDecoder {
}
}
-pub fn get_decoder_video() -> Box<NADecoder> {
+pub fn get_decoder_video() -> Box<
dyn
NADecoder> {
Box::new(BMV3VideoDecoder::new())
}
Box::new(BMV3VideoDecoder::new())
}
@@
-598,7
+598,7
@@
impl NADecoder for BMV3AudioDecoder {
}
}
}
}
-pub fn get_decoder_audio() -> Box<NADecoder> {
+pub fn get_decoder_audio() -> Box<
dyn
NADecoder> {
Box::new(BMV3AudioDecoder::new())
}
Box::new(BMV3AudioDecoder::new())
}