]> git.nihav.org Git - nihav.git/commitdiff
vp3: fix neighbourhood info
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 22 Jan 2020 11:33:03 +0000 (12:33 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 22 Jan 2020 11:33:03 +0000 (12:33 +0100)
nihav-duck/src/codecs/vp3.rs

index 7efb403c7dc0e43fd807161abf5bd9d939b666e2..03f97c9fec50720f5e19686ca033c6ac9a54640e 100644 (file)
@@ -1192,7 +1192,7 @@ impl VP34Decoder {
     fn vp40_unpack_coeffs(&mut self, br: &mut BitReader, dc_table_y: usize, dc_table_c: usize, ac_table_y: usize, ac_table_c: usize) -> DecoderResult<()> {
         const VP40_PRED_MASKS: [usize; 16] = [ // top, bottom, left, right
                 0b1010, 0b1010, 0b1000, 0b1011,
-                0b1010, 0b1010, 0b0010, 0b1111,
+                0b1010, 0b1010, 0b0010, 0b1110,
                 0b0010, 0b1010, 0b0010, 0b0110,
                 0b0100, 0b0111, 0b1110, 0b1110
             ];