From 241dafa0454e02e1af7a85f08c6465357402f710 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 21 Nov 2018 08:11:28 -0500 Subject: It is not an error to signal a temporal update while prev_segmap=NULL Fixes 00000527.ivf in #186. --- src/decode.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/decode.c b/src/decode.c index bce575b..2a4b200 100644 --- a/src/decode.c +++ b/src/decode.c @@ -3205,13 +3205,6 @@ int dav1d_submit_frame(Dav1dContext *const c) { 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) { -- cgit v1.2.3