mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Bugfix for inter_get_spatial_merge_candidates() b2 block checking
Wrong variable was used to check for x-border
This commit is contained in:
parent
df669ca7df
commit
91e83db3c6
|
@ -307,7 +307,7 @@ void inter_get_spatial_merge_candidates(int32_t x, int32_t y, int8_t depth, cu_i
|
|||
*b1 = &cu[x_cu + cur_block_in_scu - 1 + (y_cu - 1) * LCU_T_CU_WIDTH];
|
||||
if (!(*b1)->coded) *b1 = NULL;
|
||||
|
||||
if (x_cu != 0) {
|
||||
if (x != 0) {
|
||||
*b2 = &cu[x_cu - 1 + (y_cu - 1) * LCU_T_CU_WIDTH];
|
||||
if(!(*b2)->coded) *b2 = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue