Commit 8c95771d authored by Janne Grunau's avatar Janne Grunau

frame-mt: set b->filter2d for intra bc blocks

Fixes #154, index out of bounds in decode_b() with
clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5750775674830848. Credits
to oss-fuzz.
parent 1ddd4cb8
......@@ -1299,6 +1299,7 @@ static int decode_b(Dav1dTileContext *const t,
// reconstruction
if (f->frame_thread.pass == 1) {
f->bd_fn.read_coef_blocks(t, bs, b);
b->filter2d = FILTER_2D_BILINEAR;
} else {
if (f->bd_fn.recon_b_inter(t, bs, b)) return -1;
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