projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch NAFrame references to Arc
[nihav.git]
/
nihav-commonfmt
/
src
/
codecs
/
sipro.rs
diff --git
a/nihav-commonfmt/src/codecs/sipro.rs
b/nihav-commonfmt/src/codecs/sipro.rs
index 05e6816588df5047d708a0a20ad06e0c2067caf0..88b525e94cc6bc0768c91b00534204c9fb6bb6f1 100644
(file)
--- a/
nihav-commonfmt/src/codecs/sipro.rs
+++ b/
nihav-commonfmt/src/codecs/sipro.rs
@@
-729,7
+729,7
@@
impl NADecoder for SiproDecoder {
let mut frm = NAFrame::new_from_pkt(pkt, self.info.clone(), abuf);
frm.set_keyframe(true);
- Ok(
Rc::new(RefCell::new(frm)
))
+ Ok(
frm.into_ref(
))
}
}