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

libavfilter/vsrc_buffer.c:128:5: Assignment
126.     picref->video->pixel_aspect    = c->pixel_aspect;
127.     picref->video->interlaced      = c->frame.interlaced_frame;
128.     picref->video->top_field_first = c->frame.top_field_first;
         ^
129.     avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
130.     avfilter_draw_slice(link, 0, link->h, 1);

libavfilter/vsrc_buffer.c:129:32: Call
127.     picref->video->interlaced      = c->frame.interlaced_frame;
128.     picref->video->top_field_first = c->frame.top_field_first;
129.     avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
                                    ^
130.     avfilter_draw_slice(link, 0, link->h, 1);
131.     avfilter_end_frame(link);

libavfilter/avfilter.c:48:1: Parameter `ref->type`
  46. #define link_spad(link)     link->src->output_pads[link->srcpad]
  47. 
  48. AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask)
      ^
  49. {
  50.     AVFilterBufferRef *ret = av_malloc(sizeof(AVFilterBufferRef));

libavfilter/vsrc_buffer.c:129:5: Call
127.     picref->video->interlaced      = c->frame.interlaced_frame;
128.     picref->video->top_field_first = c->frame.top_field_first;
129.     avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
         ^
130.     avfilter_draw_slice(link, 0, link->h, 1);
131.     avfilter_end_frame(link);

libavfilter/avfilter.c:250:1: Parameter `picref->type`
  248. /* XXX: should we do the duplicating of the picture ref here, instead of
  249.  * forcing the source filter to do it? */
  250. void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
       ^
  251. {
  252.     void (*start_frame)(AVFilterLink *, AVFilterBufferRef *);

libavfilter/vsrc_buffer.c:130:5: Call
128.     picref->video->top_field_first = c->frame.top_field_first;
129.     avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
130.     avfilter_draw_slice(link, 0, link->h, 1);
         ^
131.     avfilter_end_frame(link);
132.     avfilter_unref_buffer(picref);

libavfilter/avfilter.c:298:1: Parameter `link->cur_buf->linesize[*]`
  296. }
  297. 
  298. void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
       ^
  299. {
  300.     uint8_t *src[4], *dst[4];

libavfilter/vsrc_buffer.c:132:5: Call
130.     avfilter_draw_slice(link, 0, link->h, 1);
131.     avfilter_end_frame(link);
132.     avfilter_unref_buffer(picref);
         ^
133. 
134.     c->has_frame = 0;

libavfilter/avfilter.c:61:1: <LHS trace>
59. }
60. 
61. void avfilter_unref_buffer(AVFilterBufferRef *ref)
    ^
62. {
63.     if(!(--ref->buf->refcount))

libavfilter/avfilter.c:61:1: Parameter `ref->buf->refcount`
  59. }
  60. 
  61. void avfilter_unref_buffer(AVFilterBufferRef *ref)
      ^
  62. {
  63.     if(!(--ref->buf->refcount))

libavfilter/avfilter.c:63:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avfilter_unref_buffer` 
  61. void avfilter_unref_buffer(AVFilterBufferRef *ref)
  62. {
  63.     if(!(--ref->buf->refcount))
               ^
  64.         ref->buf->free(ref->buf);
  65.     av_free(ref->video);
