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

libavfilter/af_resample.c:197:17: Assignment
195.                 av_log(ctx, AV_LOG_WARNING, "First timestamp is missing, "
196.                        "assuming 0.\n");
197.                 s->next_pts = 0;
                     ^
198.             } else
199.                 s->next_pts = av_rescale_q(buf->pts, inlink->time_base,

libavfilter/af_resample.c:211:17: Assignment
209.                                           inlink->sample_rate);
210.             } else
211.                 buf_out->pts = s->next_pts;
                     ^
212. 
213.             s->next_pts = buf_out->pts + buf_out->audio->nb_samples;

libavfilter/af_resample.c:215:13: Call
213.             s->next_pts = buf_out->pts + buf_out->audio->nb_samples;
214. 
215.             ff_filter_samples(outlink, buf_out);
                 ^
216.         }
217.         avfilter_unref_buffer(buf);

libavfilter/audio.c:175:1: Parameter `samplesref->buf->refcount`
  173. }
  174. 
  175. void ff_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
       ^
  176. {
  177.     void (*filter_samples)(AVFilterLink *, AVFilterBufferRef *);

libavfilter/audio.c:204:9: Call
  202.                         link->format);
  203. 
  204.         avfilter_unref_buffer(samplesref);
               ^
  205.     } else
  206.         buf_out = samplesref;

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

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

libavfilter/buffer.c:78:11: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ff_filter_samples` 
    76.     if (!ref)
    77.         return;
    78.     if (!(--ref->buf->refcount))
                  ^
    79.         ref->buf->free(ref->buf);
    80.     if (ref->extended_data != ref->data)
