ffmpeg.c:2380: error: Buffer Overrun L3
  Offset: [-1, 39] Size: 40 by call to `avcodec_pix_fmt_string`.

ffmpeg.c:2379:10: Assignment
2377.     int i;
2378.     char pix_fmt_str[128];
2379.     for (i=-1; i < PIX_FMT_NB; i++) {
               ^
2380.         avcodec_pix_fmt_string (pix_fmt_str, sizeof(pix_fmt_str), i);
2381.         fprintf(stdout, "%s\n", pix_fmt_str);

ffmpeg.c:2380:9: Call
2378.     char pix_fmt_str[128];
2379.     for (i=-1; i < PIX_FMT_NB; i++) {
2380.         avcodec_pix_fmt_string (pix_fmt_str, sizeof(pix_fmt_str), i);
              ^
2381.         fprintf(stdout, "%s\n", pix_fmt_str);
2382.     }

libavcodec/imgconvert.c:408:1: <Offset trace>
406. }
407. 
408. void avcodec_pix_fmt_string (char *buf, int buf_size, int pix_fmt)
     ^
409. {
410.     PixFmtInfo info= pix_fmt_info[pix_fmt];

libavcodec/imgconvert.c:408:1: Parameter `pix_fmt`
  406. }
  407. 
  408. void avcodec_pix_fmt_string (char *buf, int buf_size, int pix_fmt)
       ^
  409. {
  410.     PixFmtInfo info= pix_fmt_info[pix_fmt];

libavcodec/imgconvert.c:65:1: <Length trace>
63. 
64. /* this table gives more information about formats */
65. static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
    ^
66.     /* YUV formats */
67.     [PIX_FMT_YUV420P] = {

libavcodec/imgconvert.c:65:1: Array declaration
  63. 
  64. /* this table gives more information about formats */
  65. static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
      ^
  66.     /* YUV formats */
  67.     [PIX_FMT_YUV420P] = {

libavcodec/imgconvert.c:410:22: Array access: Offset: [-1, 39] Size: 40 by call to `avcodec_pix_fmt_string` 
  408. void avcodec_pix_fmt_string (char *buf, int buf_size, int pix_fmt)
  409. {
  410.     PixFmtInfo info= pix_fmt_info[pix_fmt];
                            ^
  411. 
  412.     char is_alpha_char= info.is_alpha ? 'y' : 'n';
