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

libavcodec/dnxhdenc.c:178:5: Call
176.     ctx->get_pixels_8x4_sym = dnxhd_get_pixels_8x4;
177. 
178.     dsputil_init(&ctx->m.dsp, avctx);
         ^
179.     ff_dct_common_init(&ctx->m);
180. #ifdef HAVE_MMX

libavcodec/dsputil.c:4205:1: Parameter `c->idct_permutation[*]`
  4203. }
  4204. 
  4205. void dsputil_init(DSPContext* c, AVCodecContext *avctx)
        ^
  4206. {
  4207.     int i;

libavcodec/dnxhdenc.c:179:5: Call
177. 
178.     dsputil_init(&ctx->m.dsp, avctx);
179.     ff_dct_common_init(&ctx->m);
         ^
180. #ifdef HAVE_MMX
181.     ff_dnxhd_init_mmx(ctx);

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:162:1: Parameter `st->raster_end[*]`
    160. static const uint8_t idct_sse2_row_perm[8] = {0, 4, 1, 5, 2, 6, 3, 7};
    161. 
    162. void ff_init_scantable(uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable){
         ^
    163.     int i;
    164.     int end;

libavcodec/dnxhdenc.c:198:9: Call
196.     if (avctx->intra_quant_bias != FF_DEFAULT_QUANT_BIAS)
197.         ctx->m.intra_quant_bias = avctx->intra_quant_bias;
198.     if (dnxhd_init_qmat(ctx, ctx->m.intra_quant_bias, 0) < 0) // XXX tune lbias/cbias
             ^
199.         return -1;
200. 

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

libavcodec/dnxhdenc.c:201:9: Call
199.         return -1;
200. 
201.     if (dnxhd_init_vlc(ctx) < 0)
             ^
202.         return -1;
203.     if (dnxhd_init_rc(ctx) < 0)

libavcodec/dnxhdenc.c:53:1: Parameter `*ctx->cid_table->run_codes`
  51. }
  52. 
  53. static int dnxhd_init_vlc(DNXHDEncContext *ctx)
      ^
  54. {
  55.     int i, j, level, run;

libavcodec/dnxhdenc.c:203:9: Call
201.     if (dnxhd_init_vlc(ctx) < 0)
202.         return -1;
203.     if (dnxhd_init_rc(ctx) < 0)
             ^
204.         return -1;
205. 

libavcodec/dnxhdenc.c:143:1: <LHS trace>
141. }
142. 
143. static int dnxhd_init_rc(DNXHDEncContext *ctx)
     ^
144. {
145.     CHECKED_ALLOCZ(ctx->mb_rc, 8160*ctx->m.avctx->qmax*sizeof(RCEntry));

libavcodec/dnxhdenc.c:143:1: Parameter `ctx->cid_table->coding_unit_size`
  141. }
  142. 
  143. static int dnxhd_init_rc(DNXHDEncContext *ctx)
       ^
  144. {
  145.     CHECKED_ALLOCZ(ctx->mb_rc, 8160*ctx->m.avctx->qmax*sizeof(RCEntry));

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