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

libavcodec/proresenc.c:567:1: Parameter `avctx->priv_data->num_planes`
565. }
566. 
567. static int find_slice_quant(AVCodecContext *avctx, const AVFrame *pic,
     ^
568.                             int trellis_node, int x, int y, int mbs_per_slice,
569.                             ProresThreadData *td)

libavcodec/proresenc.c:629:21: Call
627.         error = 0;
628.         for (i = 0; i < ctx->num_planes; i++) {
629.             bits += estimate_slice_plane(ctx, &error, i,
                         ^
630.                                          src, linesize[i],
631.                                          mbs_per_slice,

libavcodec/proresenc.c:549:1: Parameter `plane`
  547. }
  548. 
  549. static int estimate_slice_plane(ProresContext *ctx, int *error, int plane,
       ^
  550.                                 const uint16_t *src, int linesize,
  551.                                 int mbs_per_slice,

libavcodec/proresenc.c:560:13: Call
  558.     blocks_per_slice = mbs_per_slice * blocks_per_mb;
  559. 
  560.     bits  = estimate_dcs(error, td->blocks[plane], blocks_per_slice, qmat[0]);
                   ^
  561.     bits += estimate_acs(error, td->blocks[plane], blocks_per_slice,
  562.                          plane_size_factor, ctx->scantable.permutated, qmat);

libavcodec/proresenc.c:482:1: <Length trace>
480. }
481. 
482. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
     ^
483.                         int scale)
484. {

libavcodec/proresenc.c:482:1: Parameter `*blocks`
    480. }
    481. 
    482. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
         ^
    483.                         int scale)
    484. {

libavcodec/proresenc.c:493:5: Assignment
    491.     sign     = 0;
    492.     codebook = 3;
    493.     blocks  += 64;
             ^
    494.     *error  += FFABS(blocks[0] - 0x4000) % scale;
    495. 

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