From b4d5d8c13aadb718920ba909ef124716bac2f430 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 7 Apr 2020 16:34:16 +0200 Subject: [PATCH] rv10: new versions are all above zero --- nihav-realmedia/src/codecs/rv10.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-realmedia/src/codecs/rv10.rs b/nihav-realmedia/src/codecs/rv10.rs index be4c76d..f360817 100644 --- a/nihav-realmedia/src/codecs/rv10.rs +++ b/nihav-realmedia/src/codecs/rv10.rs @@ -433,7 +433,7 @@ impl NADecoder for RealVideo10Decoder { let mic_ver = ver & 0xFF; println!("ver {:06X} -> {}", ver, mic_ver); validate!(maj_ver == 1); - self.new_ver = mic_ver > 1; + self.new_ver = mic_ver > 0; if mic_ver == 2 { self.dec = H263BaseDecoder::new_with_opts(H263DEC_OPT_HAS_OBMC); } -- 2.39.5