[FFmpeg-cvslog] avcodec/cbs_av1: fix storage size for segmentation_params feature_value fields
James Almer
git at videolan.org
Thu Nov 15 01:51:50 EET 2018
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Nov 10 22:51:18 2018 -0300| [79831f4531d98c3c1eab96c10f1135d08abef5f3] | committer: James Almer
avcodec/cbs_av1: fix storage size for segmentation_params feature_value fields
The valid range is -255 to 255.
Reviewed-by: Mark Thompson <sw at jkqxz.net>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79831f4531d98c3c1eab96c10f1135d08abef5f3
---
libavcodec/cbs_av1.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h
index f662265f75..84622ed189 100644
--- a/libavcodec/cbs_av1.h
+++ b/libavcodec/cbs_av1.h
@@ -210,7 +210,7 @@ typedef struct AV1RawFrameHeader {
uint8_t segmentation_temporal_update;
uint8_t segmentation_update_data;
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_res;
More information about the ffmpeg-cvslog
mailing list