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
/
ts102366.rs
diff --git
a/nihav-commonfmt/src/codecs/ts102366.rs
b/nihav-commonfmt/src/codecs/ts102366.rs
index f17b43106229dc75d552ac405b6248c0fc688c8d..a4d457024a7b76e9f031e5a8da929f01a8eccc5a 100644
(file)
--- a/
nihav-commonfmt/src/codecs/ts102366.rs
+++ b/
nihav-commonfmt/src/codecs/ts102366.rs
@@
-1235,7
+1235,7
@@
impl NADecoder for AudioDecoder {
let mut frm = NAFrame::new_from_pkt(pkt, self.info.replace_info(NACodecTypeInfo::Audio(ainfo)), abuf);
frm.set_keyframe(true);
- Ok(
Rc::new(RefCell::new(frm)
))
+ Ok(
frm.into_ref(
))
}
}