Commit 79831f45 authored by James Almer's avatar James Almer

avcodec/cbs_av1: fix storage size for segmentation_params feature_value fields

The valid range is -255 to 255.
Reviewed-by: 's avatarMark Thompson <sw@jkqxz.net>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 2ce3a48f
...@@ -210,7 +210,7 @@ typedef struct AV1RawFrameHeader { ...@@ -210,7 +210,7 @@ typedef struct AV1RawFrameHeader {
uint8_t segmentation_temporal_update; uint8_t segmentation_temporal_update;
uint8_t segmentation_update_data; uint8_t segmentation_update_data;
uint8_t feature_enabled[AV1_MAX_SEGMENTS][AV1_SEG_LVL_MAX]; uint8_t feature_enabled[AV1_MAX_SEGMENTS][AV1_SEG_LVL_MAX];
uint8_t feature_value[AV1_MAX_SEGMENTS][AV1_SEG_LVL_MAX]; int16_t feature_value[AV1_MAX_SEGMENTS][AV1_SEG_LVL_MAX];
uint8_t delta_q_present; uint8_t delta_q_present;
uint8_t delta_q_res; uint8_t delta_q_res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment