libavcodec/motion_est.c:985: error: Buffer Overrun L3
  Offset: [-1, 1] Size: 2.

libavcodec/motion_est.c:917:9: <Offset trace>
915.         int field_select;
916.         int best_dmin= INT_MAX;
917.         int best_field= -1;
             ^
918. 
919.         for(field_select=0; field_select<2; field_select++){

libavcodec/motion_est.c:917:9: Assignment
915.         int field_select;
916.         int best_dmin= INT_MAX;
917.         int best_field= -1;
             ^
918. 
919.         for(field_select=0; field_select<2; field_select++){

libavcodec/motion_est.c:893:1: <Length trace>
891. }
892. 
893. static int interlaced_search(MpegEncContext *s, int ref_index,
     ^
894.                              int16_t (*mv_tables[2][2])[2], uint8_t *field_select_tables[2], int mx, int my, int user_field_select)
895. {

libavcodec/motion_est.c:893:1: Parameter `(*mv_tables)[*]`
891. }
892. 
893. static int interlaced_search(MpegEncContext *s, int ref_index,
     ^
894.                              int16_t (*mv_tables[2][2])[2], uint8_t *field_select_tables[2], int mx, int my, int user_field_select)
895. {

libavcodec/motion_est.c:985:37: Array access: Offset: [-1, 1] Size: 2
983.         }
984.         {
985.             int16_t (*mv_table)[2]= mv_tables[block][best_field];
                                         ^
986. 
987.             if(mv_table[xy][0] != mx) same=0; //FIXME check if these checks work and are any good at all
