From 000d32472c61617368d72be67300ccdcc45dbd75 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 23 Feb 2020 17:38:39 +0100 Subject: [PATCH] ralf: switch to MD5-based test --- nihav-realmedia/src/codecs/ralf.rs | 5 ++--- 1 file 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])); } } -- 2.39.5