]> git.nihav.org Git - nihav.git/commitdiff
duck/vp56: fix motion type decoding
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 26 Jan 2020 17:35:25 +0000 (18:35 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 26 Jan 2020 17:35:25 +0000 (18:35 +0100)
nihav-duck/src/codecs/vp56.rs

index 8aa52e31e9977921b1afae15b939da42e9b5366f..ff989823bb1c0f645ed04187f7eb39b5558627c0 100644 (file)
@@ -738,7 +738,7 @@ impl VP56Decoder {
                         vp_tree!(bc, probs[5], VPMBType::Intra, VPMBType::InterFourMV),
                         vp_tree!(bc, probs[6],
                             vp_tree!(bc, probs[7], VPMBType::GoldenNoMV, VPMBType::GoldenMV),
-                            vp_tree!(bc, probs[8], VPMBType::InterNearest, VPMBType::InterNear)
+                            vp_tree!(bc, probs[8], VPMBType::GoldenNearest, VPMBType::GoldenNear)
                         )
                     )
                 );