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

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

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

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

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

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

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

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