Commit 5de9fb91 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Fix tile index error

Fixes crash when playing crew_720p_10f_q16_coltile4.ivf.
parent b79c7d45
......@@ -2551,7 +2551,7 @@ int decode_frame(Dav1dFrameContext *const f) {
{
t->by = sby << (4 + f->seq_hdr.sb128);
for (int tile_col = 0; tile_col < f->frame_hdr.tiling.cols; tile_col++) {
t->ts = &f->ts[tile_row * f->frame_hdr.tiling.rows + tile_col];
t->ts = &f->ts[tile_row * f->frame_hdr.tiling.cols + tile_col];
int res;
if ((res = decode_tile_sbrow(t)))
......
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