RealVideo 1 decoder
[nihav.git] / src / codecs / h263 / intel263.rs
index 76a1287a96b602562806df53b87097a1daa6b5b7..7bc2844c044a79578ad53b00167c7db25bbf8653 100644 (file)
@@ -202,7 +202,8 @@ impl<'a> BlockDecoder for Intel263BR<'a> {
         self.mb_w = (w + 15) >> 4;
 
         let ftype = if is_intra { Type::I } else { Type::P };
-        let picinfo = PicInfo::new(w, h, ftype, quant as u8, apm, umv, tr, pbinfo, deblock);
+        let mvmode = if umv { MVMode::UMV } else { MVMode::Long };
+        let picinfo = PicInfo::new(w, h, ftype, quant as u8, apm, mvmode, tr, pbinfo, deblock);
         Ok(picinfo)
     }