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

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

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

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

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

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

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

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

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