libavcodec/dv.c:1286: error: Buffer Overrun L3
  Offset: [-54, +oo] Size: 64 by call to `dv_init_dynamic_tables`.

libavcodec/dv.c:1286:20: Call
1284. 
1285.     s->sys = avpriv_dv_codec_profile(c);
1286.     if (!s->sys || dv_init_dynamic_tables(s->sys))
                         ^
1287.         return -1;
1288.     if ((ret = ff_alloc_packet(pkt, s->sys->frame_size)) < 0) {

libavcodec/dv.c:199:1: Parameter `d->n_difchan`
  197. }
  198. 
  199. static int dv_init_dynamic_tables(const DVprofile *d)
       ^
  200. {
  201.     int j,i,c,s,p;

libavcodec/dv.c:214:27: Call
  212.                     if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) &&
  213.                         !(DV_PROFILE_IS_720p50(d) && s > 9)) {
  214.                           dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]);
                                 ^
  215.                           d->work_chunks[i++].buf_offset = p;
  216.                     }

libavcodec/dv.c:84:1: <Offset trace>
82. }
83. 
84. static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot,
    ^
85.                                           uint16_t *tbl)
86. {

libavcodec/dv.c:84:1: Parameter `chan`
    82. }
    83. 
    84. static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot,
        ^
    85.                                           uint16_t *tbl)
    86. {

libavcodec/dv.c:150:15: Assignment
    148. 
    149.               x = shuf1[m]+(chan&1)*9 + k%9;
    150.               y = (i*3+k/9)*2 + (chan>>1) + 4;
                       ^
    151. 
    152.               if (x >= 80) {

libavcodec/dv.c:104:5: <Length trace>
102.                                        0, 1, 2, 3, 4, 5};
103. 
104.     static const uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */
         ^
105.                                        { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0},
106.                                        {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1},

libavcodec/dv.c:104:5: Array declaration
    102.                                        0, 1, 2, 3, 4, 5};
    103. 
    104.     static const uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */
             ^
    105.                                        { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0},
    106.                                        {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1},

libavcodec/dv.c:153:23: Array access: Offset: [-54, +oo] Size: 64 by call to `dv_init_dynamic_tables` 
    151. 
    152.               if (x >= 80) {
    153.                   x = remap[y][0]+((x-80)<<(y>59));
                               ^
    154.                   y = remap[y][1];
    155.               }
