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

libavcodec/dv.c:1136:53: Call
1134. 
1135.     s->sys = dv_frame_profile(buf);
1136.     if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys))
                                                          ^
1137.         return -1; /* NOTE: we only accept several full frames */
1138. 

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

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

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

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

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

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

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

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