From: Kostya Shishkov Date: Wed, 22 Jan 2020 11:36:14 +0000 (+0100) Subject: vp3: switch VP4 test to MD5 sum X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=b8f7343a54df054ed8a0f1d81500af81a404ea3b;p=nihav.git vp3: switch VP4 test to MD5 sum --- diff --git a/nihav-duck/src/codecs/vp3.rs b/nihav-duck/src/codecs/vp3.rs index 03f97c9..ccb0262 100644 --- a/nihav-duck/src/codecs/vp3.rs +++ b/nihav-duck/src/codecs/vp3.rs @@ -1913,9 +1913,8 @@ mod test { let mut dec_reg = RegisteredDecoders::new(); duck_register_all_codecs(&mut dec_reg); - let file = "assets/Duck/ot171_vp40.avi"; - test_file_decoding("avi", file, Some(16), true, false, None/*Some("vp4")*/, &dmx_reg, &dec_reg); -//panic!("end"); + test_decoding("avi", "vp3", "assets/Duck/ot171_vp40.avi", Some(86), &dmx_reg, &dec_reg, + ExpectedTestResult::MD5([0xd41d8cd9, 0x8f00b204, 0xe9800998, 0xecf8427e])); } }