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

libavcodec/proresenc.c:747:1: Parameter `avctx->priv_data->num_planes`
745. }
746. 
747. static int find_slice_quant(AVCodecContext *avctx,
     ^
748.                             int trellis_node, int x, int y, int mbs_per_slice,
749.                             ProresThreadData *td)

libavcodec/proresenc.c:815:21: Call
813.         error = 0;
814.         for (i = 0; i < ctx->num_planes - !!ctx->alpha_bits; i++) {
815.             bits += estimate_slice_plane(ctx, &error, i,
                         ^
816.                                          src, linesize[i],
817.                                          mbs_per_slice,

libavcodec/proresenc.c:669:1: Parameter `plane`
  667. }
  668. 
  669. static int estimate_slice_plane(ProresContext *ctx, int *error, int plane,
       ^
  670.                                 const uint16_t *src, int linesize,
  671.                                 int mbs_per_slice,

libavcodec/proresenc.c:680:13: Call
  678.     blocks_per_slice = mbs_per_slice * blocks_per_mb;
  679. 
  680.     bits  = estimate_dcs(error, td->blocks[plane], blocks_per_slice, qmat[0]);
                   ^
  681.     bits += estimate_acs(error, td->blocks[plane], blocks_per_slice,
  682.                          plane_size_factor, ctx->scantable, qmat);

libavcodec/proresenc.c:602:1: <Length trace>
600. }
601. 
602. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
     ^
603.                         int scale)
604. {

libavcodec/proresenc.c:602:1: Parameter `*blocks`
    600. }
    601. 
    602. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
         ^
    603.                         int scale)
    604. {

libavcodec/proresenc.c:613:5: Assignment
    611.     sign     = 0;
    612.     codebook = 3;
    613.     blocks  += 64;
             ^
    614.     *error  += FFABS(blocks[0] - 0x4000) % scale;
    615. 

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