aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-12-19 15:17:24 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-12-19 20:07:56 +0100
commitad20a4f92bd93449f94f6185fa17f553b9db4117 (patch)
tree4eeca0a63ee0c57f8220f137fcf30fdc2ae524e6
parentf1700bd8bb983bb3b56c3a1f8b9078cb62a44f65 (diff)
downloadffmpeg-ad20a4f92bd93449f94f6185fa17f553b9db4117.tar.gz
avcodec/hevc_ps: Change scaling_list_dc_coef to 8 bit
Suggested-by: James Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/hevc_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 139f3deeda..764c4849ee 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -783,7 +783,7 @@ static void set_default_scaling_list_data(ScalingList *sl)
static int scaling_list_data(GetBitContext *gb, AVCodecContext *avctx, ScalingList *sl, HEVCSPS *sps)
{
uint8_t scaling_list_pred_mode_flag;
- int32_t scaling_list_dc_coef[2][6];
+ uint8_t scaling_list_dc_coef[2][6];
int size_id, matrix_id, pos;
int i;