libavcodec/hevc_ps.c:573: error: Integer Overflow L2
  ([0, 5] - [-oo, 5]):unsigned32.

libavcodec/hevc_ps.c:559:14: <LHS trace>
557. 
558.     for (size_id = 0; size_id < 4; size_id++)
559.         for (matrix_id = 0; matrix_id < (size_id == 3 ? 2 : 6); matrix_id++) {
                  ^
560.             scaling_list_pred_mode_flag[size_id][matrix_id] = get_bits1(gb);
561.             if (!scaling_list_pred_mode_flag[size_id][matrix_id]) {

libavcodec/hevc_ps.c:559:14: Assignment
557. 
558.     for (size_id = 0; size_id < 4; size_id++)
559.         for (matrix_id = 0; matrix_id < (size_id == 3 ? 2 : 6); matrix_id++) {
                  ^
560.             scaling_list_pred_mode_flag[size_id][matrix_id] = get_bits1(gb);
561.             if (!scaling_list_pred_mode_flag[size_id][matrix_id]) {

libavcodec/hevc_ps.c:559:14: <RHS trace>
557. 
558.     for (size_id = 0; size_id < 4; size_id++)
559.         for (matrix_id = 0; matrix_id < (size_id == 3 ? 2 : 6); matrix_id++) {
                  ^
560.             scaling_list_pred_mode_flag[size_id][matrix_id] = get_bits1(gb);
561.             if (!scaling_list_pred_mode_flag[size_id][matrix_id]) {

libavcodec/hevc_ps.c:559:14: Assignment
557. 
558.     for (size_id = 0; size_id < 4; size_id++)
559.         for (matrix_id = 0; matrix_id < (size_id == 3 ? 2 : 6); matrix_id++) {
                  ^
560.             scaling_list_pred_mode_flag[size_id][matrix_id] = get_bits1(gb);
561.             if (!scaling_list_pred_mode_flag[size_id][matrix_id]) {

libavcodec/hevc_ps.c:573:21: Binary operation: ([0, 5] - [-oo, 5]):unsigned32
571.                     }
572. 
573.                     memcpy(sl->sl[size_id][matrix_id],
                         ^
574.                            sl->sl[size_id][matrix_id - delta],
575.                            size_id > 0 ? 64 : 16);
