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

libavfilter/vf_select.c:266:5: Call
264.         avfilter_end_frame(inlink->dst->outputs[0]);
265.     }
266.     avfilter_unref_buffer(picref);
         ^
267. }
268. 

libavfilter/avfilter.c:72:1: <LHS trace>
70. }
71. 
72. void avfilter_unref_buffer(AVFilterBufferRef *ref)
    ^
73. {
74.     if (!ref)

libavfilter/avfilter.c:72:1: Parameter `ref->buf->refcount`
  70. }
  71. 
  72. void avfilter_unref_buffer(AVFilterBufferRef *ref)
      ^
  73. {
  74.     if (!ref)

libavfilter/avfilter.c:76:11: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avfilter_unref_buffer` 
  74.     if (!ref)
  75.         return;
  76.     if (!(--ref->buf->refcount))
                ^
  77.         ref->buf->free(ref->buf);
  78.     av_free(ref->video);
