Commit 06331de1 authored by Janne Grunau's avatar Janne Grunau

mc/svc: adjust frame-mt wait scanline for 8-tap filter

Fixes use of uninitialized values in
clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5767052292259840. Credits
to oss-fuzz.
parent 77bbf721
......@@ -567,7 +567,7 @@ static int mc(Dav1dTileContext *const t,
const int bottom =
((pos_y + (bh4 * v_mul - 1) * f->svc[refidx][1].step) >> 10) + 1;
if (dav1d_thread_picture_wait(refp, bottom, PLANE_TYPE_Y + !!pl))
if (dav1d_thread_picture_wait(refp, bottom + 4, PLANE_TYPE_Y + !!pl))
return -1;
if (DEBUG_BLOCK_INFO)
printf("Off %dx%d [%d,%d,%d], size %dx%d [%d,%d]\n",
......
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