]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/hevc_ps: Change scaling_list_dc_coef to 8 bit
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Dec 2020 14:17:24 +0000 (15:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Dec 2020 19:07:56 +0000 (20:07 +0100)
Suggested-by: James
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_ps.c

index 139f3deeda8b9b0b74ee9421a04cc6c1fed23c90..764c4849eeab1af79adaab16336983c92010044d 100644 (file)
@@ -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;