libavfilter/formats.c:264: error: Null Dereference
  pointer `f->refs` last assigned on line 264 could be null and is dereferenced at line 264, column 5.

libavfilter/formats.c:262:1: start of procedure ff_formats_ref()
260. }
261. 
262. void ff_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
     ^
263. {
264.     FORMATS_REF(f, ref);

libavfilter/formats.c:264:5: 
262. void ff_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
263. {
264.     FORMATS_REF(f, ref);
         ^
265. }
266. 

libavutil/mem.c:116:1: start of procedure av_realloc()
  114. }
  115. 
  116. void *av_realloc(void *ptr, size_t size)
       ^
  117. {
  118. #if CONFIG_MEMALIGN_HACK

libavutil/mem.c:123:9: Taking false branch
  121. 
  122.     /* let's disallow possible ambiguous cases */
  123.     if (size > (INT_MAX - 16))
               ^
  124.         return NULL;
  125. 

libavutil/mem.c:135:5: 
  133.     return _aligned_realloc(ptr, size, 32);
  134. #else
  135.     return realloc(ptr, size);
           ^
  136. #endif
  137. }

libavutil/mem.c:137:1: return from a call to av_realloc
  135.     return realloc(ptr, size);
  136. #endif
  137. }
       ^
  138. 
  139. void *av_realloc_array(void *ptr, size_t nmemb, size_t size)

libavfilter/formats.c:264:5: 
262. void ff_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
263. {
264.     FORMATS_REF(f, ref);
         ^
265. }
266. 
