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

libavcodec/proresenc.c:743:1: Parameter `avctx->priv_data->num_planes`
741. }
742. 
743. static int find_slice_quant(AVCodecContext *avctx, const AVFrame *pic,
     ^
744.                             int trellis_node, int x, int y, int mbs_per_slice,
745.                             ProresThreadData *td)

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

libavcodec/proresenc.c:665:1: Parameter `plane`
  663. }
  664. 
  665. static int estimate_slice_plane(ProresContext *ctx, int *error, int plane,
       ^
  666.                                 const uint16_t *src, int linesize,
  667.                                 int mbs_per_slice,

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

libavcodec/proresenc.c:598:1: <Length trace>
596. }
597. 
598. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
     ^
599.                         int scale)
600. {

libavcodec/proresenc.c:598:1: Parameter `*blocks`
    596. }
    597. 
    598. static int estimate_dcs(int *error, int16_t *blocks, int blocks_per_slice,
         ^
    599.                         int scale)
    600. {

libavcodec/proresenc.c:609:5: Assignment
    607.     sign     = 0;
    608.     codebook = 3;
    609.     blocks  += 64;
             ^
    610.     *error  += FFABS(blocks[0] - 0x4000) % scale;
    611. 

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