libavfilter/avfilter.c:377: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `avfilter_formats_unref`.

libavfilter/avfilter.c:371:9: Unknown value from: non-const function
369. 
370.     if (filter->filter->uninit)
371.         filter->filter->uninit(filter);
             ^
372. 
373.     for (i = 0; i < filter->input_count; i++) {

libavfilter/avfilter.c:377:13: Call
375.             if (link->src)
376.                 link->src->outputs[link->srcpad - link->src->output_pads] = NULL;
377.             avfilter_formats_unref(&link->in_formats);
                 ^
378.             avfilter_formats_unref(&link->out_formats);
379.             avfilter_formats_unref(&link->in_samplerates);

libavfilter/formats.c:283:1: <LHS trace>
281. } while (0)
282. 
283. void avfilter_formats_unref(AVFilterFormats **ref)
     ^
284. {
285.     FORMATS_UNREF(ref, formats);

libavfilter/formats.c:283:1: Parameter `(*ref)->refcount`
  281. } while (0)
  282. 
  283. void avfilter_formats_unref(AVFilterFormats **ref)
       ^
  284. {
  285.     FORMATS_UNREF(ref, formats);

libavfilter/formats.c:285:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avfilter_formats_unref` 
  283. void avfilter_formats_unref(AVFilterFormats **ref)
  284. {
  285.     FORMATS_UNREF(ref, formats);
           ^
  286. }
  287. 
