shithub: dav1d

Download patch

ref: 1d16d094063ebf97203cc3898d7cb8357275c916
parent: 8bef2dc2c7fc86f1763a494a26aaf2c97eca6f9f
author: Ronald S. Bultje <rsbultje@gmail.com>
date: Sat Nov 17 04:26:14 EST 2018

Revert "Disable warped motion for invalid warped global motion parameters"

This reverts commit 597a6eb9cee41ddbebf019f3b20f50e8da48061c. It leads to
assertion failures in oss-fuzz.

--- a/src/obu.c
+++ b/src/obu.c
@@ -910,7 +910,7 @@
             mat[1] = dav1d_get_bits_subexp(gb, ref_mat[1] >> shift, bits) * (1 << shift);
 
             if (dav1d_get_shear_params(&hdr->gmv[i]))
-                hdr->gmv[i].type = WM_TYPE_TRANSLATION;
+                goto error;
         }
     }
 #if DEBUG_FRAME_HDR