]> git.nihav.org Git - nihav.git/commitdiff
vp3: switch VP30 test to MD5 hash
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 13 Jan 2020 18:06:57 +0000 (19:06 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 13 Jan 2020 18:06:57 +0000 (19:06 +0100)
nihav-duck/src/codecs/vp3.rs

index 17365ff1d60dbcd29f7816a5516a2ed6dfc78f23..0e4a6bb79059219e99c6e560d1897df7130bad98 100644 (file)
@@ -1878,8 +1878,8 @@ mod test {
         let mut dec_reg = RegisteredDecoders::new();
         duck_register_all_codecs(&mut dec_reg);
 
-        let file = "assets/Duck/vp30-logo.avi";
-        test_file_decoding("avi", file, Some(23), true, false, None/*Some("vp30")*/, &dmx_reg, &dec_reg);
+        test_decoding("avi", "vp3", "assets/Duck/vp30-logo.avi", Some(23), &dmx_reg, &dec_reg,
+                      ExpectedTestResult::MD5([0x51aba7df, 0x6e42534d, 0xef6c5b13, 0x26c38d1f]));
     }
 
     #[test]