libavcodec/proresenc.c:539: error: Buffer Overrun L1
  Offset: [64, `avctx->priv_data->num_planes` + 63] Size: 3 by call to `estimate_slice_plane`.

libavcodec/proresenc.c:489:1: Parameter `avctx->priv_data->num_planes`
487. }
488. 
489. static int find_slice_quant(AVCodecContext *avctx, const AVFrame *pic,
     ^
490.                             int trellis_node, int x, int y, int mbs_per_slice)
491. {

libavcodec/proresenc.c:539:21: Call
537.         error = 0;
538.         for (i = 0; i < ctx->num_planes; i++) {
539.             bits += estimate_slice_plane(ctx, &error, i,
                         ^
540.                                          src, pic->linesize[i],
541.                                          mbs_per_slice,

libavcodec/proresenc.c:471:1: Parameter `plane`
  469. }
  470. 
  471. static int estimate_slice_plane(ProresContext *ctx, int *error, int plane,
       ^
  472.                                 const uint16_t *src, int linesize,
  473.                                 int mbs_per_slice,

libavcodec/proresenc.c:482:13: Call
  480.     blocks_per_slice = mbs_per_slice * blocks_per_mb;
  481. 
  482.     bits  = estimate_dcs(error, ctx->blocks[plane], blocks_per_slice, qmat[0]);
                   ^
  483.     bits += estimate_acs(error, ctx->blocks[plane], blocks_per_slice,
  484.                          plane_size_factor, ctx->scantable.permutated, qmat);

libavcodec/proresenc.c:404:1: <Length trace>
402. }
403. 
404. static int estimate_dcs(int *error, DCTELEM *blocks, int blocks_per_slice,
     ^
405.                         int scale)
406. {

libavcodec/proresenc.c:404:1: Parameter `*blocks`
    402. }
    403. 
    404. static int estimate_dcs(int *error, DCTELEM *blocks, int blocks_per_slice,
         ^
    405.                         int scale)
    406. {

libavcodec/proresenc.c:415:5: Assignment
    413.     sign     = 0;
    414.     codebook = 3;
    415.     blocks  += 64;
             ^
    416.     *error  += FFABS(blocks[0] - 0x4000) % scale;
    417. 

libavcodec/proresenc.c:416:16: Array access: Offset: [64, avctx->priv_data->num_planes + 63] Size: 3 by call to `estimate_slice_plane` 
    414.     codebook = 3;
    415.     blocks  += 64;
    416.     *error  += FFABS(blocks[0] - 0x4000) % scale;
                        ^
    417. 
    418.     for (i = 1; i < blocks_per_slice; i++, blocks += 64) {
