libavcodec/snow.c:2985: error: Buffer Overrun L1
  Offset: 2 Size: 2 by call to `check_block`.

libavcodec/snow.c:2983:1: Array declaration
2981. /* special case for int[2] args we discard afterwards,
2982.  * fixes compilation problem with gcc 2.95 */
2983. static av_always_inline int check_block_inter(SnowContext *s, int mb_x, int mb_y, int p0, int p1, const uint8_t *obmc_edged, int *best_rd){
      ^
2984.     int p[2] = {p0, p1};
2985.     return check_block(s, mb_x, mb_y, p, 0, obmc_edged, best_rd);

libavcodec/snow.c:2985:12: Call
2983. static av_always_inline int check_block_inter(SnowContext *s, int mb_x, int mb_y, int p0, int p1, const uint8_t *obmc_edged, int *best_rd){
2984.     int p[2] = {p0, p1};
2985.     return check_block(s, mb_x, mb_y, p, 0, obmc_edged, best_rd);
                 ^
2986. }
2987. 

libavcodec/snow.c:2943:1: <Length trace>
2941. }
2942. 
2943. static av_always_inline int check_block(SnowContext *s, int mb_x, int mb_y, int p[3], int intra, const uint8_t *obmc_edged, int *best_rd){
      ^
2944.     const int b_stride= s->b_width << s->block_max_depth;
2945.     BlockNode *block= &s->block[mb_x + mb_y * b_stride];

libavcodec/snow.c:2943:1: Parameter `*p`
  2941. }
  2942. 
  2943. static av_always_inline int check_block(SnowContext *s, int mb_x, int mb_y, int p[3], int intra, const uint8_t *obmc_edged, int *best_rd){
        ^
  2944.     const int b_stride= s->b_width << s->block_max_depth;
  2945.     BlockNode *block= &s->block[mb_x + mb_y * b_stride];

libavcodec/snow.c:2955:27: Array access: Offset: 2 Size: 2 by call to `check_block` 
  2953.         block->color[0] = p[0];
  2954.         block->color[1] = p[1];
  2955.         block->color[2] = p[2];
                                  ^
  2956.         block->type |= BLOCK_INTRA;
  2957.     }else{
