Commit acee4345 authored by Janne Grunau's avatar Janne Grunau
Browse files

frame mt: mark frame as failed in dav1d_close()

Fixes a deadlock on teardown with
clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5636065151418368. Credits
to oss-fuzz.
parent b3c522d5
Pipeline #2787 passed with stages
in 8 minutes and 53 seconds
......@@ -286,6 +286,10 @@ void dav1d_close(Dav1dContext **const c_out) {
// clean-up threading stuff
if (c->n_fc > 1) {
if (f->frame_hdr.refresh_context)
dav1d_thread_picture_signal(&f->sr_cur, FRAME_ERROR,
f->frame_thread.die = 1;
Supports Markdown
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