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

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

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

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

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

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

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

libavcodec/proresenc.c:413:5: Assignment
    411.     bits     = estimate_vlc(FIRST_DC_CB, MAKE_CODE(prev_dc));
    412.     codebook = 3;
    413.     blocks  += 64;
             ^
    414.     *error  += FFABS(blocks[0] - 0x4000) % scale;
    415. 

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