]> git.nihav.org Git - nihav.git/commitdiff
rv10: do not use modified chroma quantizer
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 Apr 2020 14:43:22 +0000 (16:43 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 Apr 2020 14:43:38 +0000 (16:43 +0200)
nihav-realmedia/src/codecs/rv10.rs

index dda653b490109b2d30f3c86b2ae882f4536c27c2..e985137e01ca8d79d2e84bf0001de9e492bda577 100644 (file)
@@ -158,7 +158,6 @@ impl<'a> RealVideo10BR<'a> {
         if !coded { return Ok(()); }
 
         let rl_cb = &self.tables.rl_cb; // could be aic too
-        let quant = if plane_no == 0 { quant } else { H263_CHROMA_QUANT[quant as usize] };
         let q_add = if quant == 0 { 0i16 } else { ((quant - 1) | 1) as i16 };
         let q = (quant * 2) as i16;
         while idx < 64 {