libavcodec/dv.c:172: error: Buffer Overrun L3
  Offset: [-9, 9] Size: 10.

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 `seq`
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:168:15: Assignment
166.               blk = (chan*10+seq)*27+slot;
167. 
168.               i = (4*chan + (seq/5) + 2*blk + off[m])%10;
                   ^
169.               k = (blk/5)%27 + (i&1)*3;
170. 

libavcodec/dv.c:99:5: <Length trace>
 97.     const static uint8_t shuf3[] = { 18, 9, 27, 0, 36 };
 98. 
 99.     const static uint8_t l_start[] = {0, 4, 9, 13, 18, 22, 27, 31, 36, 40};
         ^
100.     const static uint8_t l_start_shuffled[] = { 9, 4, 13, 0, 18 };
101. 

libavcodec/dv.c:99:5: Array declaration
 97.     const static uint8_t shuf3[] = { 18, 9, 27, 0, 36 };
 98. 
 99.     const static uint8_t l_start[] = {0, 4, 9, 13, 18, 22, 27, 31, 36, 40};
         ^
100.     const static uint8_t l_start_shuffled[] = { 9, 4, 13, 0, 18 };
101. 

libavcodec/dv.c:172:19: Array access: Offset: [-9, 9] Size: 10
170. 
171.               x = shuf2[m] + k%6 + 6*(chan&1);
172.               y = l_start[i] + k/6 + 45*(chan>>1);
                       ^
173.               tbl[m] = (x<<1)|(y<<9);
174.               break;
