aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_h266.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-07-02 10:12:58 -0300
committerJames Almer <jamrial@gmail.com>2023-07-05 18:18:33 -0300
commit319a6b3ae2dfb4524db89cf82f08632a3ecc6233 (patch)
tree9e30dc2d89b5b55e8184bb5e73219d9582f56963 /libavcodec/cbs_h266.h
parentee09f20796e4ee5234900665ef1748c2a48239da (diff)
downloadffmpeg-319a6b3ae2dfb4524db89cf82f08632a3ecc6233.tar.gz
avcodec/cbs_h266: store RowHeightVal and ColWidthVal in the context
Stop overwriting values from the bitstream arrays pps_tile_column_width_minus1 and pps_tile_row_height_minus1. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h266.h')
-rw-r--r--libavcodec/cbs_h266.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index e33d08a0f5..9e211b293f 100644
--- a/libavcodec/cbs_h266.h
+++ b/libavcodec/cbs_h266.h
@@ -553,6 +553,8 @@ typedef struct H266RawPPS {
uint16_t slice_height_in_ctus[VVC_MAX_SLICES];
uint16_t num_slices_in_subpic[VVC_MAX_SLICES];
uint16_t sub_pic_id_val[VVC_MAX_SLICES];
+ uint16_t col_width_val[VVC_MAX_TILE_COLUMNS];
+ uint16_t row_height_val[VVC_MAX_TILE_ROWS];
} H266RawPPS;
typedef struct H266RawAUD {