diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-02-23 17:38:39 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-02-23 17:38:39 +0100 |
commit | 000d32472c61617368d72be67300ccdcc45dbd75 (patch) | |
tree | ac6c93bbe4dfcda3263880349b2fdc0951051c2a | |
parent | ce742854b2912b880fb3d3e330042b049dac8504 (diff) | |
download | nihav-000d32472c61617368d72be67300ccdcc45dbd75.tar.gz |
ralf: switch to MD5-based test
-rw-r--r-- | nihav-realmedia/src/codecs/ralf.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nihav-realmedia/src/codecs/ralf.rs b/nihav-realmedia/src/codecs/ralf.rs index b979051..dd8b698 100644 --- a/nihav-realmedia/src/codecs/ralf.rs +++ b/nihav-realmedia/src/codecs/ralf.rs @@ -489,9 +489,8 @@ mod test { let mut dec_reg = RegisteredDecoders::new(); realmedia_register_all_codecs(&mut dec_reg); - let file = "assets/RV/rv40_ralf.rmvb"; - test_decode_audio("realmedia", file, Some(2000), None/*Some("ralf")*/, &dmx_reg, &dec_reg); -//panic!("end"); + test_decoding("realmedia", "ralf", "assets/RV/rv40_ralf.rmvb", None, &dmx_reg, &dec_reg, + ExpectedTestResult::MD5([0x6cf18361, 0x9548b5ce, 0x5dfc0b5c, 0x2bd6f392])); } } |