libavcodec/wmv2.c:70: error: Buffer Overrun L1
  Offset: [8, 64] (⇐ [5, 61] + 3) Size: 6 by call to `wmv2_add_block`.

libavcodec/wmv2.c:70:5: Call
68. 
69.     wmv2_add_block(w, block1[4], dest_cb                   , s->uvlinesize, 4);
70.     wmv2_add_block(w, block1[5], dest_cr                   , s->uvlinesize, 5);
        ^
71. }
72. 

libavcodec/wmv2.c:35:1: Parameter `n`
  33. }
  34. 
  35. static void wmv2_add_block(Wmv2Context *w, DCTELEM *block1, uint8_t *dst, int stride, int n){
      ^
  36.     MpegEncContext * const s= &w->s;
  37. 

libavcodec/wmv2.c:50:9: Call
  48.     case 2:
  49.         ff_simple_idct48_add(dst           , stride, block1);
  50.         ff_simple_idct48_add(dst + 4       , stride, w->abt_block2[n]);
              ^
  51.         memset(w->abt_block2[n], 0, 64*sizeof(DCTELEM));
  52.         break;

libavcodec/simple_idct.c:573:1: Parameter `*block`
    571. }
    572. 
    573. void ff_simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block)
         ^
    574. {
    575.     int i;

libavcodec/simple_idct.c:579:9: Call
    577.     /* IDCT4 on each line */
    578.     for(i=0; i<8; i++) {
    579.         idct4row(block + i*8);
                 ^
    580.     }
    581. 

libavcodec/simple_idct.c:539:1: <Length trace>
537. #define R3 R_FIX(0.5)
538. #define R_SHIFT 11
539. static inline void idct4row(DCTELEM *row)
     ^
540. {
541.     int c0, c1, c2, c3, a0, a1, a2, a3;

libavcodec/simple_idct.c:539:1: Parameter `*row`
      537. #define R3 R_FIX(0.5)
      538. #define R_SHIFT 11
      539. static inline void idct4row(DCTELEM *row)
           ^
      540. {
      541.     int c0, c1, c2, c3, a0, a1, a2, a3;

libavcodec/simple_idct.c:547:10: Array access: Offset: [8, 64] (⇐ [5, 61] + 3) Size: 6 by call to `wmv2_add_block` 
      545.     a1 = row[1];
      546.     a2 = row[2];
      547.     a3 = row[3];
                    ^
      548.     c0 = (a0 + a2)*R3 + (1 << (R_SHIFT - 1));
      549.     c2 = (a0 - a2)*R3 + (1 << (R_SHIFT - 1));
