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

Fix tile index error

Fixes crash when playing crew_720p_10f_q16_coltile4.ivf.
parent b79c7d45
Pipeline #633 passed with stage
in 1 minute and 6 seconds
...@@ -2551,7 +2551,7 @@ int decode_frame(Dav1dFrameContext *const f) { ...@@ -2551,7 +2551,7 @@ int decode_frame(Dav1dFrameContext *const f) {
{ {
t->by = sby << (4 + f->seq_hdr.sb128); t->by = sby << (4 + f->seq_hdr.sb128);
for (int tile_col = 0; tile_col < f->frame_hdr.tiling.cols; tile_col++) { 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; int res;
if ((res = decode_tile_sbrow(t))) if ((res = decode_tile_sbrow(t)))
......
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