Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decode.c7
1 files changed, 0 insertions, 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) {