Commit 13025199 authored by David Barker's avatar David Barker Committed by Debargha Mukherjee
Browse files

dependent-horztilegroups: Fix decoder crash

The tg_horz_boundary flag should always be 0 for the topmost
tile row, even when dependent-horztilegroups is enabled.
Otherwise, we end up trying to fetch data off the top of the
frame, which results in segfaults.


Change-Id: I7caaa2b38a21c05ffb13b6c72f41f8f6e1982b69
parent 33ba1fe5
......@@ -25,7 +25,7 @@ void av1_tile_set_tg_boundary(TileInfo *tile, const AV1_COMMON *const cm,
tile->tg_horz_boundary = 0;
tile->tg_horz_boundary = (row == 0);
const int tg_start_row = cm->tile_group_start_row[row][col];
const int tg_start_col = cm->tile_group_start_col[row][col];
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