shithub: dav1d

Download patch

ref: 241dafa0454e02e1af7a85f08c6465357402f710
parent: 76f5660686afe40ed641f73f48c5be91eab9cb1b
author: Ronald S. Bultje <rsbultje@gmail.com>
date: Wed Nov 21 03:11:28 EST 2018

It is not an error to signal a temporal update while prev_segmap=NULL

Fixes 00000527.ivf in #186.

--- a/src/decode.c
+++ b/src/decode.c
@@ -3205,13 +3205,6 @@
                     f->prev_segmap = f->prev_segmap_ref->data;
                 }
             }
-            // It is an error to signal a temporal update if the
-            // previous frame was the wrong size or had no
-            // segmentation data.
-            if (f->frame_hdr.segmentation.temporal && !f->prev_segmap_ref) {
-                res = -EINVAL;
-                goto error;
-            }
         }
 
         if (f->frame_hdr.segmentation.update_map) {