avtools/cmdutils.c:1238: error: Uninitialized Value
  The value read from pix_fmt was never initialized.

avtools/cmdutils.c:1238:16: 
1236.         printf("%c%c%c%c%c %-16s       %d            %2d\n",
1237.                sws_isSupportedInput (pix_fmt)              ? 'I' : '.',
1238.                sws_isSupportedOutput(pix_fmt)              ? 'O' : '.',
                     ^
1239.                pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL   ? 'H' : '.',
1240.                pix_desc->flags & AV_PIX_FMT_FLAG_PAL       ? 'P' : '.',

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