libavcodec/snow.c:2832: error: Buffer Overrun L2
  Offset: [3, 1026] Size: 1024 by call to `ff_w97_32_c`.

libavcodec/snow.c:2832:26: Call
2830.          * estimation does not always converge. */
2831.         if(s->avctx->me_cmp == FF_CMP_W97)
2832.             distortion = ff_w97_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);
                               ^
2833.         else if(s->avctx->me_cmp == FF_CMP_W53)
2834.             distortion = ff_w53_32_c(&s->m, src + sx + sy*ref_stride, dst + sx + sy*ref_stride, ref_stride, 32);

libavcodec/dwt.c:824:1: Parameter `h`
  822. }
  823. 
  824. int ff_w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
       ^
  825.     return w_c(v, pix1, pix2, line_size, 32, h, 0);
  826. }

libavcodec/dwt.c:825:12: Call
  823. 
  824. int ff_w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
  825.     return w_c(v, pix1, pix2, line_size, 32, h, 0);
                  ^
  826. }
  827. 

libavcodec/dwt.c:735:1: <Offset trace>
733. }
734. 
735. static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int w, int h, int type){
     ^
736.     int s, i, j;
737.     const int dec_count= w==8 ? 3 : 4;

libavcodec/dwt.c:735:1: Parameter `w`
    733. }
    734. 
    735. static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int w, int h, int type){
         ^
    736.     int s, i, j;
    737.     const int dec_count= w==8 ? 3 : 4;

libavcodec/dwt.c:735:1: <Length trace>
733. }
734. 
735. static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int w, int h, int type){
     ^
736.     int s, i, j;
737.     const int dec_count= w==8 ? 3 : 4;

libavcodec/dwt.c:735:1: Array declaration
    733. }
    734. 
    735. static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int w, int h, int type){
         ^
    736.     int s, i, j;
    737.     const int dec_count= w==8 ? 3 : 4;

libavcodec/dwt.c:775:13: Array access: Offset: [3, 1026] Size: 1024 by call to `ff_w97_32_c` 
    773.             tmp[32*i+j+1] = (pix1[j+1] - pix2[j+1])<<4;
    774.             tmp[32*i+j+2] = (pix1[j+2] - pix2[j+2])<<4;
    775.             tmp[32*i+j+3] = (pix1[j+3] - pix2[j+3])<<4;
                     ^
    776.         }
    777.         pix1 += line_size;
