libavcodec/imgconvert.c:153: error: Buffer Overrun L2
  Offset: [0, 111] Size: 64 by call to `avcodec_find_best_pix_fmt2`.

libavcodec/imgconvert.c:140:1: Array declaration
138. 
139. #if FF_API_FIND_BEST_PIX_FMT
140. enum AVPixelFormat avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, enum AVPixelFormat src_pix_fmt,
     ^
141.                               int has_alpha, int *loss_ptr)
142. {

libavcodec/imgconvert.c:153:12: Call
151.     list[j] = AV_PIX_FMT_NONE;
152. 
153.     return avcodec_find_best_pix_fmt2(list, src_pix_fmt, has_alpha, loss_ptr);
                ^
154. }
155. #endif /* FF_API_FIND_BEST_PIX_FMT */

libavcodec/imgconvert.c:157:1: Parameter `*pix_fmt_list`
  155. #endif /* FF_API_FIND_BEST_PIX_FMT */
  156. 
  157. enum AVPixelFormat avcodec_find_best_pix_fmt2(enum AVPixelFormat *pix_fmt_list,
       ^
  158.                                             enum AVPixelFormat src_pix_fmt,
  159.                                             int has_alpha, int *loss_ptr)

libavcodec/imgconvert.c:177:23: Call
  175.     for(;;) {
  176.         loss_mask = loss_mask_order[i++];
  177.         dst_pix_fmt = avcodec_find_best_pix_fmt1(pix_fmt_list, src_pix_fmt,
                             ^
  178.                                                  has_alpha, loss_mask);
  179.         if (dst_pix_fmt >= 0)

libavcodec/imgconvert.c:116:5: <Offset trace>
114.     dst_pix_fmt = AV_PIX_FMT_NONE;
115.     min_dist = 0x7fffffff;
116.     i = 0;
         ^
117.     while (pix_fmt_list[i] != AV_PIX_FMT_NONE) {
118.         enum AVPixelFormat pix_fmt = pix_fmt_list[i];

libavcodec/imgconvert.c:116:5: Assignment
    114.     dst_pix_fmt = AV_PIX_FMT_NONE;
    115.     min_dist = 0x7fffffff;
    116.     i = 0;
             ^
    117.     while (pix_fmt_list[i] != AV_PIX_FMT_NONE) {
    118.         enum AVPixelFormat pix_fmt = pix_fmt_list[i];

libavcodec/imgconvert.c:105:1: <Length trace>
103. }
104. 
105. static enum AVPixelFormat avcodec_find_best_pix_fmt1(enum AVPixelFormat *pix_fmt_list,
     ^
106.                                       enum AVPixelFormat src_pix_fmt,
107.                                       int has_alpha,

libavcodec/imgconvert.c:105:1: Parameter `*pix_fmt_list`
    103. }
    104. 
    105. static enum AVPixelFormat avcodec_find_best_pix_fmt1(enum AVPixelFormat *pix_fmt_list,
         ^
    106.                                       enum AVPixelFormat src_pix_fmt,
    107.                                       int has_alpha,

libavcodec/imgconvert.c:117:12: Array access: Offset: [0, 111] Size: 64 by call to `avcodec_find_best_pix_fmt2` 
    115.     min_dist = 0x7fffffff;
    116.     i = 0;
    117.     while (pix_fmt_list[i] != AV_PIX_FMT_NONE) {
                    ^
    118.         enum AVPixelFormat pix_fmt = pix_fmt_list[i];
    119. 
