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

libavfilter/af_resample.c:182:19: Call
180.                                     AV_ROUND_UP);
181. 
182.         buf_out = ff_get_audio_buffer(outlink, AV_PERM_WRITE, nb_samples);
                       ^
183.         if (!buf_out) {
184.             ret = AVERROR(ENOMEM);

libavfilter/audio.c:62:1: Parameter `*link->dstpad->get_audio_buffer`
  60. }
  61. 
  62. AVFilterBufferRef *ff_get_audio_buffer(AVFilterLink *link, int perms,
      ^
  63.                                        int nb_samples)
  64. {

libavfilter/af_resample.c:193:13: Call
191.                                      buf->audio->nb_samples);
192.         if (ret < 0) {
193.             avfilter_unref_buffer(buf_out);
                 ^
194.             goto fail;
195.         }

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 `avfilter_unref_buffer` 
  76.     if (!ref)
  77.         return;
  78.     if (!(--ref->buf->refcount))
                ^
  79.         ref->buf->free(ref->buf);
  80.     if (ref->extended_data != ref->data)
