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

libavcodec/dv.c:1282:53: Call
1280. 
1281.     s->sys = dv_codec_profile(c);
1282.     if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys))
                                                          ^
1283.         return -1;
1284. 

libavcodec/dv.c:207:1: Parameter `d->n_difchan`
  205. }
  206. 
  207. static int dv_init_dynamic_tables(const DVprofile *d)
       ^
  208. {
  209.     int j,i,c,s,p;

libavcodec/dv.c:222:27: Call
  220.                     if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) &&
  221.                         !(DV_PROFILE_IS_720p50(d) && s > 9)) {
  222.                           dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]);
                                 ^
  223.                           d->work_chunks[i++].buf_offset = p;
  224.                     }

libavcodec/dv.c:92:1: <Offset trace>
90. }
91. 
92. static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot,
    ^
93.                                           uint16_t *tbl)
94. {

libavcodec/dv.c:92:1: Parameter `chan`
    90. }
    91. 
    92. static inline void dv_calc_mb_coordinates(const DVprofile *d, int chan, int seq, int slot,
        ^
    93.                                           uint16_t *tbl)
    94. {

libavcodec/dv.c:158:15: Assignment
    156. 
    157.               x = shuf1[m]+(chan&1)*9 + k%9;
    158.               y = (i*3+k/9)*2 + (chan>>1) + 4;
                       ^
    159. 
    160.               if (x >= 80) {

libavcodec/dv.c:112:5: <Length trace>
110.                                        0, 1, 2, 3, 4, 5};
111. 
112.     static const uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */
         ^
113.                                        { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0},
114.                                        {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1},

libavcodec/dv.c:112:5: Array declaration
    110.                                        0, 1, 2, 3, 4, 5};
    111. 
    112.     static const uint8_t remap[][2] = {{ 0, 0}, { 0, 0}, { 0, 0}, { 0, 0}, /* dummy */
             ^
    113.                                        { 0, 0}, { 0, 1}, { 0, 2}, { 0, 3}, {10, 0},
    114.                                        {10, 1}, {10, 2}, {10, 3}, {20, 0}, {20, 1},

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