libavcodec/h264_direct.c:139: error: Buffer Overrun L2
  Offset: [0, 2] (⇐ [0, 1] + [0, 1]) Size: 2 by call to `fill_colmap`.

libavcodec/h264_direct.c:101:1: Parameter `h->map_col_to_list0_field[*]`
 99. }
100. 
101. void ff_h264_direct_ref_list_init(H264Context * const h){
     ^
102.     MpegEncContext * const s = &h->s;
103.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:139:13: Call
137.         if(FRAME_MBAFF)
138.         for(field=0; field<2; field++)
139.             fill_colmap(h, h->map_col_to_list0_field[field], list, field, field, 1);
                 ^
140.     }
141. }

libavcodec/h264_direct.c:68:1: <Offset trace>
66. }
67. 
68. static void fill_colmap(H264Context *h, int map[2][16+32], int list, int field, int colfield, int mbafi){
    ^
69.     MpegEncContext * const s = &h->s;
70.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:68:1: Parameter `list`
  66. }
  67. 
  68. static void fill_colmap(H264Context *h, int map[2][16+32], int list, int field, int colfield, int mbafi){
      ^
  69.     MpegEncContext * const s = &h->s;
  70.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:68:1: <Length trace>
66. }
67. 
68. static void fill_colmap(H264Context *h, int map[2][16+32], int list, int field, int colfield, int mbafi){
    ^
69.     MpegEncContext * const s = &h->s;
70.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:68:1: Parameter `*map`
  66. }
  67. 
  68. static void fill_colmap(H264Context *h, int map[2][16+32], int list, int field, int colfield, int mbafi){
      ^
  69.     MpegEncContext * const s = &h->s;
  70.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:91:21: Array access: Offset: [0, 2] (⇐ [0, 1] + [0, 1]) Size: 2 by call to `fill_colmap` 
  89.                 if(4*h->ref_list[0][j].frame_num + (h->ref_list[0][j].reference&3) == poc){
  90.                     int cur_ref= mbafi ? (j-16)^field : j;
  91.                     map[list][2*old_ref + (rfield^field) + 16] = cur_ref;
                          ^
  92.                     if(rfield == field || !interl)
  93.                         map[list][old_ref] = cur_ref;
