libavfilter/vf_scale.c:128: error: Buffer Overrun L1
  Offset: -1 Size: 142 by call to `sws_isSupportedInput`.

libavfilter/vf_scale.c:127:23: Call
125.         formats = NULL;
126.         while ((desc = av_pix_fmt_desc_next(desc))) {
127.             pix_fmt = av_pix_fmt_desc_get_id(desc);
                           ^
128.             if ((sws_isSupportedInput(pix_fmt) ||
129.                  sws_isSupportedEndiannessConversion(pix_fmt))

libavutil/pixdesc.c:1912:9: Assignment
  1910.     if (desc < av_pix_fmt_descriptors ||
  1911.         desc >= av_pix_fmt_descriptors + FF_ARRAY_ELEMS(av_pix_fmt_descriptors))
  1912.         return AV_PIX_FMT_NONE;
                ^
  1913. 
  1914.     return desc - av_pix_fmt_descriptors;

libavfilter/vf_scale.c:127:13: Assignment
125.         formats = NULL;
126.         while ((desc = av_pix_fmt_desc_next(desc))) {
127.             pix_fmt = av_pix_fmt_desc_get_id(desc);
                 ^
128.             if ((sws_isSupportedInput(pix_fmt) ||
129.                  sws_isSupportedEndiannessConversion(pix_fmt))

libavfilter/vf_scale.c:128:18: Call
126.         while ((desc = av_pix_fmt_desc_next(desc))) {
127.             pix_fmt = av_pix_fmt_desc_get_id(desc);
128.             if ((sws_isSupportedInput(pix_fmt) ||
                      ^
129.                  sws_isSupportedEndiannessConversion(pix_fmt))
130.                 && (ret = ff_add_format(&formats, pix_fmt)) < 0) {

libswscale/utils.c:202:1: <Offset trace>
200. };
201. 
202. int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
     ^
203. {
204.     return (unsigned)pix_fmt < AV_PIX_FMT_NB ?

libswscale/utils.c:202:1: Parameter `pix_fmt`
  200. };
  201. 
  202. int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
       ^
  203. {
  204.     return (unsigned)pix_fmt < AV_PIX_FMT_NB ?

libswscale/utils.c:79:1: <Length trace>
77. } FormatEntry;
78. 
79. static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
    ^
80.     [AV_PIX_FMT_YUV420P]     = { 1, 1 },
81.     [AV_PIX_FMT_YUYV422]     = { 1, 1 },

libswscale/utils.c:79:1: Array declaration
  77. } FormatEntry;
  78. 
  79. static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
      ^
  80.     [AV_PIX_FMT_YUV420P]     = { 1, 1 },
  81.     [AV_PIX_FMT_YUYV422]     = { 1, 1 },

libswscale/utils.c:205:12: Array access: Offset: -1 Size: 142 by call to `sws_isSupportedInput` 
  203. {
  204.     return (unsigned)pix_fmt < AV_PIX_FMT_NB ?
  205.            format_entries[pix_fmt].is_supported_in : 0;
                  ^
  206. }
  207. 
