[FFmpeg-cvslog] avcodec/hevc_ps: Change scaling_list_dc_coef to 8 bit

Michael Niedermayer git at videolan.org
Sat Dec 19 21:23:27 EET 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Dec 19 15:17:24 2020 +0100| [ad20a4f92bd93449f94f6185fa17f553b9db4117] | committer: Michael Niedermayer

avcodec/hevc_ps: Change scaling_list_dc_coef to 8 bit

Suggested-by: James
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad20a4f92bd93449f94f6185fa17f553b9db4117
---

 libavcodec/hevc_ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 



More information about the ffmpeg-cvslog mailing list