avconv.c:1833: error: Null Dereference
  pointer `avc` last assigned on line 1828 could be null and is dereferenced at line 1833, column 9.

avconv.c:1824:1: start of procedure print_sdp()
1822. }
1823. 
1824. static void print_sdp(OutputFile *output_files, int n)
      ^
1825. {
1826.     char sdp[2048];

avconv.c:1828:5: 
1826.     char sdp[2048];
1827.     int i;
1828.     AVFormatContext **avc = av_malloc(sizeof(*avc)*n);
          ^
1829. 
1830.     if (!avc)

libavutil/mem.c:64:1: start of procedure av_malloc()
  62.    linker will do it automatically. */
  63. 
  64. void *av_malloc(size_t size)
      ^
  65. {
  66.     void *ptr = NULL;

libavutil/mem.c:66:5: 
  64. void *av_malloc(size_t size)
  65. {
  66.     void *ptr = NULL;
          ^
  67. #if CONFIG_MEMALIGN_HACK
  68.     long diff;

libavutil/mem.c:72:8: Taking true branch
  70. 
  71.     /* let's disallow possible ambiguous cases */
  72.     if(size > (INT_MAX-32) )
             ^
  73.         return NULL;
  74. 

libavutil/mem.c:73:9: 
  71.     /* let's disallow possible ambiguous cases */
  72.     if(size > (INT_MAX-32) )
  73.         return NULL;
              ^
  74. 
  75. #if CONFIG_MEMALIGN_HACK

libavutil/mem.c:115:1: return from a call to av_malloc
  113. #endif
  114.     return ptr;
  115. }
       ^
  116. 
  117. void *av_realloc(void *ptr, size_t size)

avconv.c:1830:10: Taking true branch
1828.     AVFormatContext **avc = av_malloc(sizeof(*avc)*n);
1829. 
1830.     if (!avc)
               ^
1831.         exit_program(1);
1832.     for (i = 0; i < n; i++)

avconv.c:1831:9: Skipping exit_program(): empty list of specs
1829. 
1830.     if (!avc)
1831.         exit_program(1);
              ^
1832.     for (i = 0; i < n; i++)
1833.         avc[i] = output_files[i].ctx;

avconv.c:1832:10: 
1830.     if (!avc)
1831.         exit_program(1);
1832.     for (i = 0; i < n; i++)
               ^
1833.         avc[i] = output_files[i].ctx;
1834. 

avconv.c:1832:17: Loop condition is true. Entering loop body
1830.     if (!avc)
1831.         exit_program(1);
1832.     for (i = 0; i < n; i++)
                      ^
1833.         avc[i] = output_files[i].ctx;
1834. 

avconv.c:1833:9: 
1831.         exit_program(1);
1832.     for (i = 0; i < n; i++)
1833.         avc[i] = output_files[i].ctx;
              ^
1834. 
1835.     av_sdp_create(avc, n, sdp, sizeof(sdp));
