mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-07 11:13:41 +02:00
cbs_h266: fix slice_height_in_ctus for single slice tile
Failed clips: TILE_E_Nokia_2.bit TILE_D_Nokia_2.bit LMCS_A_Dolby_3.bit Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
c837c055a2
commit
ad8dc5e814
@ -1984,6 +1984,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw,
|
|||||||
0, current->row_height_val[tile_y] - 1, 1, i);
|
0, current->row_height_val[tile_y] - 1, 1, i);
|
||||||
if (current->pps_num_exp_slices_in_tile[i] == 0) {
|
if (current->pps_num_exp_slices_in_tile[i] == 0) {
|
||||||
num_slices_in_tile = 1;
|
num_slices_in_tile = 1;
|
||||||
|
current->slice_height_in_ctus[i] = current->row_height_val[tile_y];
|
||||||
slice_top_left_ctu_x[i] = ctu_x;
|
slice_top_left_ctu_x[i] = ctu_x;
|
||||||
slice_top_left_ctu_y[i] = ctu_y;
|
slice_top_left_ctu_y[i] = ctu_y;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user