Commit 241dafa0 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Jean-Baptiste Kempf

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

Fixes 00000527.ivf in #186.
parent 76f56606
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment