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

libavcodec/h264_direct.c:106:1: Parameter `h->map_col_to_list0_field[*]`
104. }
105. 
106. void ff_h264_direct_ref_list_init(H264Context * const h){
     ^
107.     MpegEncContext * const s = &h->s;
108.     Picture * const ref1 = &h->ref_list[1][0];

libavcodec/h264_direct.c:133:13: Call
131.         fill_colmap(h, h->map_col_to_list0, list, sidx, ref1sidx, 0);
132.         for(field=0; field<2; field++)
133.             fill_colmap(h, h->map_col_to_list0_field[field], list, field, field, 1);
                 ^
134.     }
135. }

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

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

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

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

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