diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-17 19:05:45 +0300 |
---|---|---|
committer | Janne Grunau <janne-vlc@jannau.net> | 2018-11-20 22:36:46 +0300 |
commit | ce258fa4003c1ccaecea45311ecc063e31a241ad (patch) | |
tree | 23a04db78e22ab4caee08acb871f5da12e0828f4 /src/decode.c | |
parent | bb1a9352b9f7bd8679646aa132e51e8c63775896 (diff) |
Normatively allow invalid global motion parameters
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c index 0a4a74a..0b27de0 100644 --- a/src/decode.c +++ b/src/decode.c @@ -3071,6 +3071,9 @@ int dav1d_submit_frame(Dav1dContext *const c) { } else { f->svc[i][0].scale = 0; } + f->gmv_warp_allowed[i] = f->frame_hdr.gmv[i].type > WM_TYPE_TRANSLATION && + !f->frame_hdr.force_integer_mv && + !dav1d_get_shear_params(&f->frame_hdr.gmv[i]); } } |