libavcodec/dnxhdenc.c:210: error: Integer Overflow L2
  ([-640, +oo] - 4):unsigned32 by call to `dnxhd_init_rc`.

libavcodec/dnxhdenc.c:188:5: Call
186.     ctx->m.h263_aic = 1;
187. 
188.     dsputil_init(&ctx->m.dsp, avctx);
         ^
189.     ff_dct_common_init(&ctx->m);
190.     if (!ctx->m.dct_quantize)

libavcodec/dsputil.c:4115:1: Parameter `c->idct_permutation[*]`
  4113. }
  4114. 
  4115. void dsputil_init(DSPContext* c, AVCodecContext *avctx)
        ^
  4116. {
  4117.     int i;

libavcodec/dnxhdenc.c:189:5: Call
187. 
188.     dsputil_init(&ctx->m.dsp, avctx);
189.     ff_dct_common_init(&ctx->m);
         ^
190.     if (!ctx->m.dct_quantize)
191.         ctx->m.dct_quantize = dct_quantize_c;

libavcodec/mpegvideo.c:113:1: Parameter `s->intra_v_scantable.raster_end[*].*.strlen`
  111. 
  112. /* init common dct for both encoder and decoder */
  113. int ff_dct_common_init(MpegEncContext *s)
       ^
  114. {
  115.     s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_c;

libavcodec/mpegvideo.c:151:5: Call
  149.     }
  150.     ff_init_scantable(s->dsp.idct_permutation, &s->intra_h_scantable, ff_alternate_horizontal_scan);
  151.     ff_init_scantable(s->dsp.idct_permutation, &s->intra_v_scantable, ff_alternate_vertical_scan);
           ^
  152. 
  153.     return 0;

libavcodec/dsputil.c:154:1: Parameter `st->raster_end[*]`
    152. };
    153. 
    154. void ff_init_scantable(uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable){
         ^
    155.     int i;
    156.     int end;

libavcodec/dnxhdenc.c:205:9: Call
203.     if (avctx->intra_quant_bias != FF_DEFAULT_QUANT_BIAS)
204.         ctx->m.intra_quant_bias = avctx->intra_quant_bias;
205.     if (dnxhd_init_qmat(ctx, ctx->m.intra_quant_bias, 0) < 0) // XXX tune lbias/cbias
             ^
206.         return -1;
207. 

libavcodec/dnxhdenc.c:120:1: Parameter `ctx->m.dsp.idct_permutation[*]`
  118. }
  119. 
  120. static int dnxhd_init_qmat(DNXHDEncContext *ctx, int lbias, int cbias)
       ^
  121. {
  122.     // init first elem to 1 to avoid div by 0 in convert_matrix

libavcodec/dnxhdenc.c:208:9: Call
206.         return -1;
207. 
208.     if (dnxhd_init_vlc(ctx) < 0)
             ^
209.         return -1;
210.     if (dnxhd_init_rc(ctx) < 0)

libavcodec/dnxhdenc.c:91:1: Parameter `*ctx->cid_table->run_codes`
  89. #define LAMBDA_FRAC_BITS 10
  90. 
  91. static int dnxhd_init_vlc(DNXHDEncContext *ctx)
      ^
  92. {
  93.     int i;

libavcodec/dnxhdenc.c:210:9: Call
208.     if (dnxhd_init_vlc(ctx) < 0)
209.         return -1;
210.     if (dnxhd_init_rc(ctx) < 0)
             ^
211.         return -1;
212. 

libavcodec/dnxhdenc.c:155:1: <LHS trace>
153. }
154. 
155. static int dnxhd_init_rc(DNXHDEncContext *ctx)
     ^
156. {
157.     CHECKED_ALLOCZ(ctx->mb_rc, 8160*ctx->m.avctx->qmax*sizeof(RCEntry));

libavcodec/dnxhdenc.c:155:1: Parameter `ctx->cid_table->coding_unit_size`
  153. }
  154. 
  155. static int dnxhd_init_rc(DNXHDEncContext *ctx)
       ^
  156. {
  157.     CHECKED_ALLOCZ(ctx->mb_rc, 8160*ctx->m.avctx->qmax*sizeof(RCEntry));

libavcodec/dnxhdenc.c:161:5: Binary operation: ([-640, +oo] - 4):unsigned32 by call to `dnxhd_init_rc` 
  159.         CHECKED_ALLOCZ(ctx->mb_cmp, ctx->m.mb_num*sizeof(RCCMPEntry));
  160. 
  161.     ctx->frame_bits = (ctx->cid_table->coding_unit_size - 640 - 4) * 8;
           ^
  162.     ctx->qscale = 1;
  163.     ctx->lambda = 2<<LAMBDA_FRAC_BITS; // qscale 2
