projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce NADecoderSupport and buffer pools
[nihav.git]
/
nihav-indeo
/
src
/
codecs
/
intel263.rs
diff --git
a/nihav-indeo/src/codecs/intel263.rs
b/nihav-indeo/src/codecs/intel263.rs
index 7afee94ac602363a7964a2b0e818aa501d998876..ed5b3b7f93a0ce39fbcbc0caf159ccc1bf78a89e 100644
(file)
--- a/
nihav-indeo/src/codecs/intel263.rs
+++ b/
nihav-indeo/src/codecs/intel263.rs
@@
-364,7
+364,7
@@
impl Intel263Decoder {
}
impl NADecoder for Intel263Decoder {
}
impl NADecoder for Intel263Decoder {
- fn init(&mut self, info: NACodecInfoRef) -> DecoderResult<()> {
+ fn init(&mut self,
_supp: &mut NADecoderSupport,
info: NACodecInfoRef) -> DecoderResult<()> {
if let NACodecTypeInfo::Video(vinfo) = info.get_properties() {
let w = vinfo.get_width();
let h = vinfo.get_height();
if let NACodecTypeInfo::Video(vinfo) = info.get_properties() {
let w = vinfo.get_width();
let h = vinfo.get_height();
@@
-376,7
+376,7
@@
impl NADecoder for Intel263Decoder {
Err(DecoderError::InvalidData)
}
}
Err(DecoderError::InvalidData)
}
}
- fn decode(&mut self, pkt: &NAPacket) -> DecoderResult<NAFrameRef> {
+ fn decode(&mut self,
_supp: &mut NADecoderSupport,
pkt: &NAPacket) -> DecoderResult<NAFrameRef> {
let src = pkt.get_buffer();
if src.len() == 8 {
let src = pkt.get_buffer();
if src.len() == 8 {