summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <[email protected]>2019-05-11 14:50:51 +0200
committerKostya Shishkov <[email protected]>2019-05-11 14:50:51 +0200
commit3a1d1cfa508161305c7e2499dab3196ded109faf (patch)
treec1f5ddcd64d6197f45c3bbc7cd6a010ccd1898e4
parent9e78289cc98dddb8f6d6ea4fc4c3655636e31a72 (diff)
codecs: implement Default trait for MV
-rw-r--r--nihav-core/src/codecs/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-core/src/codecs/mod.rs b/nihav-core/src/codecs/mod.rs
index 8225dd0..490c7c7 100644
--- a/nihav-core/src/codecs/mod.rs
+++ b/nihav-core/src/codecs/mod.rs
@@ -162,7 +162,7 @@ impl Default for IPBShuffler {
fn default() -> Self { Self { lastframe: None, nextframe: None } }
}
-#[derive(Debug,Clone,Copy,PartialEq)]
+#[derive(Debug,Clone,Copy,Default,PartialEq)]
pub struct MV {
pub x: i16,
pub y: i16,