diff options
author | James Almer <jamrial@gmail.com> | 2023-07-02 10:10:31 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-07-05 18:18:33 -0300 |
commit | ee09f20796e4ee5234900665ef1748c2a48239da (patch) | |
tree | d0ef29529d0d0e930e116e85b5b8f5a0c9d66045 | |
parent | 3bbb1c023b0e00324c133a86ebb0a955dd8dea0f (diff) | |
download | ffmpeg-ee09f20796e4ee5234900665ef1748c2a48239da.tar.gz |
avcodec/cbs_h266: don't infer derived values
The macro is meant for coded values only.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/cbs_h266_syntax_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index 485c02f590..a6cb2c56c2 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c @@ -2015,9 +2015,9 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, infer(pps_tile_column_width_minus1[0], pic_width_in_ctbs_y - 1); infer(pps_num_exp_tile_rows_minus1, 0); infer(pps_tile_row_height_minus1[0], pic_height_in_ctbs_y - 1); - infer(num_tile_columns, 1); - infer(num_tile_rows, 1); - infer(num_tiles_in_pic, 1); + current->num_tile_columns = 1; + current->num_tile_rows = 1; + current->num_tiles_in_pic = 1; } flag(pps_cabac_init_present_flag); |