From 3a1d1cfa508161305c7e2499dab3196ded109faf Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 11 May 2019 14:50:51 +0200 Subject: [PATCH] codecs: implement Default trait for MV --- nihav-core/src/codecs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5