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
/
indeo4.rs
diff --git
a/nihav-indeo/src/codecs/indeo4.rs
b/nihav-indeo/src/codecs/indeo4.rs
index 15cae6d2ad2eb80bfd33849979b627eb592d80f5..03918bed238c544604e0f43f346c1a12a07f1a3c 100644
(file)
--- a/
nihav-indeo/src/codecs/indeo4.rs
+++ b/
nihav-indeo/src/codecs/indeo4.rs
@@
-455,6
+455,9
@@
impl NADecoder for Indeo4Decoder {
frm.set_frame_type(self.dec.get_frame_type());
Ok(frm.into_ref())
}
+ fn flush(&mut self) {
+ self.dec.flush();
+ }
}
const INDEO4_PICTURE_SIZE_TAB: [[usize; 2]; 7] = [