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

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

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

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

libavutil/mem.c:126:8: Taking false branch
  124. 
  125.     /* let's disallow possible ambiguous cases */
  126.     if(size > (INT_MAX-16) )
              ^
  127.         return NULL;
  128. 

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

libavutil/mem.c:139:1: return from a call to av_realloc
  137.     return realloc(ptr, size);
  138. #endif
  139. }
       ^
  140. 
  141. void av_free(void *ptr)

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