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:
authorRonald S. Bultje <rsbultje@gmail.com>2018-11-21 16:11:28 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2018-11-21 18:31:52 +0300
commit241dafa0454e02e1af7a85f08c6465357402f710 (patch)
tree3d7a8088258da90c9c519f56894f30687653406e
parent76f5660686afe40ed641f73f48c5be91eab9cb1b (diff)
It is not an error to signal a temporal update while prev_segmap=NULL
Fixes 00000527.ivf in #186.
-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) {