projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add flush() to decoder interface
[nihav.git]
/
nihav-indeo
/
src
/
codecs
/
indeo5.rs
diff --git
a/nihav-indeo/src/codecs/indeo5.rs
b/nihav-indeo/src/codecs/indeo5.rs
index eec603a08bde181e8ac39775ffa644f03bd3990c..81111647d7d64d175cdc124f9bb9b62a29c54d8f 100644
(file)
--- a/
nihav-indeo/src/codecs/indeo5.rs
+++ b/
nihav-indeo/src/codecs/indeo5.rs
@@
-530,6
+530,9
@@
impl NADecoder for Indeo5Decoder {
frm.set_frame_type(self.dec.get_frame_type());
Ok(frm.into_ref())
}
+ fn flush(&mut self) {
+ self.dec.flush();
+ }
}
const INDEO5_PICTURE_SIZE_TAB: [[usize; 2]; 15] = [