X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=src%2Fcodecs%2Fh263%2Fintel263.rs;h=7bc2844c044a79578ad53b00167c7db25bbf8653;hb=5639ce5f3d2c41513ff3c715ce480e2788961bc1;hp=76a1287a96b602562806df53b87097a1daa6b5b7;hpb=379fd78171e79d878c258d9a5fa4c279dcb9b87f;p=nihav.git diff --git a/src/codecs/h263/intel263.rs b/src/codecs/h263/intel263.rs index 76a1287..7bc2844 100644 --- a/src/codecs/h263/intel263.rs +++ b/src/codecs/h263/intel263.rs @@ -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) }