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

libavcodec/dv.c:1249:53: Call
1247. 
1248.     s->sys = avpriv_dv_codec_profile(c);
1249.     if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys))
                                                          ^
1250.         return -1;
1251. 

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

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

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

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

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

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

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

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