mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Fix allocating tile boundary arrays.
Column and row numbers had been mixed up.
This commit is contained in:
parent
6bc72ed77b
commit
3a47aab696
|
@ -209,9 +209,9 @@ encoder_control_t* encoder_control_init(const kvz_config *const cfg) {
|
|||
encoder->tiles_row_height = tiles_row_height =
|
||||
MALLOC(int32_t, encoder->tiles_num_tile_rows);
|
||||
|
||||
encoder->tiles_row_bd = tiles_row_bd =
|
||||
MALLOC(int32_t, encoder->tiles_num_tile_columns + 1);
|
||||
encoder->tiles_col_bd = tiles_col_bd =
|
||||
MALLOC(int32_t, encoder->tiles_num_tile_columns + 1);
|
||||
encoder->tiles_row_bd = tiles_row_bd =
|
||||
MALLOC(int32_t, encoder->tiles_num_tile_rows + 1);
|
||||
|
||||
encoder->tiles_ctb_addr_rs_to_ts = tiles_ctb_addr_rs_to_ts =
|
||||
|
|
Loading…
Reference in a new issue