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
/
gremlinvideo.rs
diff --git
a/nihav-game/src/codecs/gremlinvideo.rs
b/nihav-game/src/codecs/gremlinvideo.rs
index 2d698cb84858a31d9641dfcf5cac872d96798979..19021ee3db9c1e70f47d1dcd4b68469da7f38816 100644
(file)
--- a/
nihav-game/src/codecs/gremlinvideo.rs
+++ b/
nihav-game/src/codecs/gremlinvideo.rs
@@
-460,7
+460,7
@@
impl NADecoder for GremlinVideoDecoder {
}
}
}
}
-pub fn get_decoder_video() -> Box<NADecoder> {
+pub fn get_decoder_video() -> Box<
dyn
NADecoder> {
Box::new(GremlinVideoDecoder::new())
}
Box::new(GremlinVideoDecoder::new())
}
@@
-552,7
+552,7
@@
impl NADecoder for GremlinAudioDecoder {
}
}
}
}
-pub fn get_decoder_audio() -> Box<NADecoder> {
+pub fn get_decoder_audio() -> Box<
dyn
NADecoder> {
Box::new(GremlinAudioDecoder::new())
}
Box::new(GremlinAudioDecoder::new())
}