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
path: root/src/obu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/obu.c')
-rw-r--r--src/obu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obu.c b/src/obu.c
index 24b4f62..7df6850 100644
--- a/src/obu.c
+++ b/src/obu.c
@@ -1581,6 +1581,7 @@ int dav1d_parse_obus(Dav1dContext *const c, Dav1dData *const in, const int globa
if (error) {
c->cached_error = error;
f->task_thread.retval = 0;
+ dav1d_data_props_copy(&c->cached_error_props, &out_delayed->p.m);
dav1d_thread_picture_unref(out_delayed);
} else if (out_delayed->p.data[0]) {
const unsigned progress = atomic_load_explicit(&out_delayed->progress[1],
@@ -1633,6 +1634,7 @@ int dav1d_parse_obus(Dav1dContext *const c, Dav1dData *const in, const int globa
return len + init_byte_pos;
error:
+ dav1d_data_props_copy(&c->cached_error_props, &in->m);
dav1d_log(c, "Error parsing OBU data\n");
return DAV1D_ERR(EINVAL);
}