cmdutils.c:1195: error: Buffer Overrun L1
  Offset: -1 Size: 120 by call to `sws_isSupportedInput`.

cmdutils.c:1193:38: Call
1191. 
1192.     while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) {
1193.         enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc);
                                           ^
1194.         printf("%c%c%c%c%c %-16s       %d            %2d\n",
1195.                sws_isSupportedInput (pix_fmt)              ? 'I' : '.',

libavutil/pixdesc.c:1590:9: Assignment
  1588.     if (desc < av_pix_fmt_descriptors ||
  1589.         desc >= av_pix_fmt_descriptors + FF_ARRAY_ELEMS(av_pix_fmt_descriptors))
  1590.         return AV_PIX_FMT_NONE;
                ^
  1591. 
  1592.     return desc - av_pix_fmt_descriptors;

cmdutils.c:1193:9: Assignment
1191. 
1192.     while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) {
1193.         enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc);
              ^
1194.         printf("%c%c%c%c%c %-16s       %d            %2d\n",
1195.                sws_isSupportedInput (pix_fmt)              ? 'I' : '.',

cmdutils.c:1195:16: Call
1193.         enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc);
1194.         printf("%c%c%c%c%c %-16s       %d            %2d\n",
1195.                sws_isSupportedInput (pix_fmt)              ? 'I' : '.',
                     ^
1196.                sws_isSupportedOutput(pix_fmt)              ? 'O' : '.',
1197.                pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL   ? 'H' : '.',

libswscale/utils.c:185:1: <Offset trace>
183. };
184. 
185. int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
     ^
186. {
187.     return (unsigned)pix_fmt < AV_PIX_FMT_NB ?

libswscale/utils.c:185:1: Parameter `pix_fmt`
  183. };
  184. 
  185. int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
       ^
  186. {
  187.     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:188:12: Array access: Offset: -1 Size: 120 by call to `sws_isSupportedInput` 
  186. {
  187.     return (unsigned)pix_fmt < AV_PIX_FMT_NB ?
  188.            format_entries[pix_fmt].is_supported_in : 0;
                  ^
  189. }
  190. 

int sws_isSupportedInput(enum AVPixelFormat pix_fmt)
{
    return (unsigned)pix_fmt < AV_PIX_FMT_NB ?
           format_entries[pix_fmt].is_supported_in : 0;
}
['int show_pix_fmts(void *optctx, const char *opt, const char *arg)\n{\n    const AVPixFmtDescriptor *pix_desc = NULL;\n    printf("Pixel formats:\\n"\n           "I.... = Supported Input  format for conversion\\n"\n           ".O... = Supported Output format for conversion\\n"\n           "..H.. = Hardware accelerated format\\n"\n           "...P. = Paletted format\\n"\n           "....B = Bitstream format\\n"\n           "FLAGS NAME            NB_COMPONENTS BITS_PER_PIXEL\\n"\n           "-----\\n");\n#if !CONFIG_SWSCALE\n#   define sws_isSupportedInput(x)  0\n#   define sws_isSupportedOutput(x) 0\n#endif\n    while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) {\n        enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc);\n        printf("%c%c%c%c%c %-16s       %d            %2d\\n",\n               sws_isSupportedInput (pix_fmt)              ? \'I\' : \'.\',\n               sws_isSupportedOutput(pix_fmt)              ? \'O\' : \'.\',\n               pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL   ? \'H\' : \'.\',\n               pix_desc->flags & AV_PIX_FMT_FLAG_PAL       ? \'P\' : \'.\',\n               pix_desc->flags & AV_PIX_FMT_FLAG_BITSTREAM ? \'B\' : \'.\',\n               pix_desc->name,\n               pix_desc->nb_components,\n               av_get_bits_per_pixel(pix_desc));\n    }\n    return 0;\n}', 'enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)\n{\n    if (desc < av_pix_fmt_descriptors ||\n        desc >= av_pix_fmt_descriptors + FF_ARRAY_ELEMS(av_pix_fmt_descriptors))\n        return AV_PIX_FMT_NONE;\n    return desc - av_pix_fmt_descriptors;\n}', 'int sws_isSupportedInput(enum AVPixelFormat pix_fmt)\n{\n    return (unsigned)pix_fmt < AV_PIX_FMT_NB ?\n           format_entries[pix_fmt].is_supported_in : 0;\n}']