Files
FFmpeg/libavcodec
James Almer a23dd33606 avcodec/cbs_av1: fix array size for ar_coeffs_cb_plus_128 and ar_coeffs_cr_plus_128
Taking into account the code

fb(2, ar_coeff_lag);
num_pos_luma = 2 * current->ar_coeff_lag * (current->ar_coeff_lag + 1);
if (current->num_y_points)
    num_pos_chroma = num_pos_luma + 1;
else
    num_pos_chroma = num_pos_luma;

Max value for ar_coeff_lag is 3 (two bits), for num_pos_luma 24, and for
num_pos_chroma 25.

Both ar_coeffs_cb_plus_128 and ar_coeffs_cr_plus_128 may have up to
num_pos_chroma values.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-12-11 19:29:43 -03:00
..
2019-10-17 12:33:50 +02:00
2019-11-27 23:54:20 +01:00
2019-11-27 23:54:20 +01:00
2019-11-17 23:31:45 +00:00
2019-11-27 23:54:20 +01:00
2019-11-13 09:08:43 -08:00
2019-12-05 20:20:05 +01:00
2019-08-29 21:04:54 +02:00
2019-08-29 15:57:54 +02:00
2019-09-19 23:56:03 -07:00
2019-11-28 10:21:20 -03:00
2019-11-27 23:54:20 +01:00
2019-11-27 23:53:43 +01:00
2019-12-10 16:09:14 +01:00
2019-11-25 00:07:07 +01:00
2019-09-02 13:46:11 -07:00
2019-10-10 14:34:20 +02:00
2019-10-22 10:51:42 +08:00
2019-09-20 23:26:34 +02:00
2019-09-16 21:30:19 +02:00
2019-11-09 17:59:03 +01:00
2019-11-01 14:43:16 +01:00
2019-11-01 15:19:55 -07:00
2019-11-28 10:21:20 -03:00
2019-10-25 00:22:33 +02:00
2019-10-26 09:57:01 -07:00
2019-09-05 19:45:53 +02:00