projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix some warnings (unneeded parentheses, missing dyn keyword)
[nihav.git]
/
nihav-duck
/
src
/
codecs
/
vp7.rs
diff --git
a/nihav-duck/src/codecs/vp7.rs
b/nihav-duck/src/codecs/vp7.rs
index 2632b40283baee3f39859da1e1d2c42cb585aeaf..9243f93456de6512340f781e4391c0235c74fee6 100644
(file)
--- a/
nihav-duck/src/codecs/vp7.rs
+++ b/
nihav-duck/src/codecs/vp7.rs
@@
-1430,7
+1430,7
@@
impl NAOptionHandler for VP7Decoder {
fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
}
-pub fn get_decoder() -> Box<NADecoder + Send> {
+pub fn get_decoder() -> Box<
dyn
NADecoder + Send> {
Box::new(VP7Decoder::new())
}