]> git.nihav.org Git - nihav.git/commitdiff
rv10: new versions are all above zero
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 Apr 2020 14:34:16 +0000 (16:34 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 Apr 2020 14:34:47 +0000 (16:34 +0200)
nihav-realmedia/src/codecs/rv10.rs

index be4c76d113366349742a2d461d3b6e5b178cd261..f3608174fab39cc7cf5bf949ffe8dc84734b3dec 100644 (file)
@@ -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);
             }