ref: 5de9fb918c669dc71b0c21e2ee3092bab5529060
parent: b79c7d4535f46c17dc2ad93eb78480dc67e4dfd9
author: Ronald S. Bultje <[email protected]>
date: Fri Sep 28 09:46:40 EDT 2018
Fix tile index error Fixes crash when playing crew_720p_10f_q16_coltile4.ivf.
--- a/src/decode.c
+++ b/src/decode.c
@@ -2551,7 +2551,7 @@
{
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)))