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

avconv.c:1936:1: start of procedure print_sdp()
1934. }
1935. 
1936. static void print_sdp(OutputFile *output_files, int n)
      ^
1937. {
1938.     char sdp[2048];

avconv.c:1940:5: 
1938.     char sdp[2048];
1939.     int i;
1940.     AVFormatContext **avc = av_malloc(sizeof(*avc)*n);
          ^
1941. 
1942.     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:1942:10: Taking true branch
1940.     AVFormatContext **avc = av_malloc(sizeof(*avc)*n);
1941. 
1942.     if (!avc)
               ^
1943.         exit_program(1);
1944.     for (i = 0; i < n; i++)

avconv.c:1943:9: Skipping exit_program(): empty list of specs
1941. 
1942.     if (!avc)
1943.         exit_program(1);
              ^
1944.     for (i = 0; i < n; i++)
1945.         avc[i] = output_files[i].ctx;

avconv.c:1944:10: 
1942.     if (!avc)
1943.         exit_program(1);
1944.     for (i = 0; i < n; i++)
               ^
1945.         avc[i] = output_files[i].ctx;
1946. 

avconv.c:1944:17: Loop condition is true. Entering loop body
1942.     if (!avc)
1943.         exit_program(1);
1944.     for (i = 0; i < n; i++)
                      ^
1945.         avc[i] = output_files[i].ctx;
1946. 

avconv.c:1945:9: 
1943.         exit_program(1);
1944.     for (i = 0; i < n; i++)
1945.         avc[i] = output_files[i].ctx;
              ^
1946. 
1947.     av_sdp_create(avc, n, sdp, sizeof(sdp));
