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

libavfilter/avfiltergraph.c:472:24: Call
470. 
471.         for (j = 0; j < filter->input_count; j++)
472.             if ((ret = pick_format(filter->inputs[j])) < 0)
                            ^
473.                 return ret;
474.         for (j = 0; j < filter->output_count; j++)

libavfilter/avfiltergraph.c:265:1: Parameter `link->out_samplerates->refcount`
  263. }
  264. 
  265. static int pick_format(AVFilterLink *link)
       ^
  266. {
  267.     if (!link || !link->in_formats)

libavfilter/avfiltergraph.c:472:24: Call
470. 
471.         for (j = 0; j < filter->input_count; j++)
472.             if ((ret = pick_format(filter->inputs[j])) < 0)
                            ^
473.                 return ret;
474.         for (j = 0; j < filter->output_count; j++)

libavfilter/avfiltergraph.c:265:1: Parameter `link->in_formats->refcount`
  263. }
  264. 
  265. static int pick_format(AVFilterLink *link)
       ^
  266. {
  267.     if (!link || !link->in_formats)

libavfilter/avfiltergraph.c:293:5: Call
  291.     }
  292. 
  293.     avfilter_formats_unref(&link->in_formats);
           ^
  294.     avfilter_formats_unref(&link->out_formats);
  295.     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 `pick_format` 
    283. void avfilter_formats_unref(AVFilterFormats **ref)
    284. {
    285.     FORMATS_UNREF(ref, formats);
             ^
    286. }
    287. 
