Commit c496fab4 authored by Janne Grunau's avatar Janne Grunau

decode: check once per tile sb row for symbol decoder overreads

parent 4aa0363a
Pipeline #2730 passed with stages
in 6 minutes and 1 second
......@@ -2374,6 +2374,9 @@ int dav1d_decode_tile_sbrow(Dav1dTileContext *const t) {
return 0;
}
// error out on symbol decoder overread
if (ts->msac.cnt < -15) return 1;
if (c->n_fc > 1 && f->frame_hdr.use_ref_frame_mvs) {
for (int n = 0; n < 7; n++)
if (dav1d_thread_picture_wait(&f->refp[n], 4 * (t->by + sb_step),
......
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