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

libavfilter/vf_scale.c:283:5: Call
281.     out->video->h = outlink->h;
282. 
283.     av_reduce(&out->video->pixel_aspect.num, &out->video->pixel_aspect.den,
         ^
284.               (int64_t)in->video->pixel_aspect.num * outlink->h * link->w,
285.               (int64_t)in->video->pixel_aspect.den * outlink->w * link->h,

libavutil/rational.c:39:36: Assignment
  37.               int64_t num, int64_t den, int64_t max)
  38. {
  39.     AVRational a0 = { 0, 1 }, a1 = { 1, 0 };
                                         ^
  40.     int sign = (num < 0) ^ (den < 0);
  41.     int64_t gcd = av_gcd(FFABS(num), FFABS(den));

libavutil/rational.c:74:16: Assignment
  72.     av_assert2(av_gcd(a1.num, a1.den) <= 1U);
  73. 
  74.     *dst_num = sign ? -a1.num : a1.num;
                     ^
  75.     *dst_den = a1.den;
  76. 

libavutil/rational.c:74:5: Assignment
  72.     av_assert2(av_gcd(a1.num, a1.den) <= 1U);
  73. 
  74.     *dst_num = sign ? -a1.num : a1.num;
          ^
  75.     *dst_den = a1.den;
  76. 

libavfilter/vf_scale.c:288:5: Call
286.               INT_MAX);
287. 
288.     sws_scale(scale->sws, in->data, in->linesize, 0, in->video->h,
         ^
289.               out->data, out->linesize);
290. 

libswscale/swscale_unscaled.c:1043:1: Parameter `srcSliceY`
  1041.  * Assumes planar YUV to be in YUV order instead of YVU.
  1042.  */
  1043. int attribute_align_arg sws_scale(struct SwsContext *c,
        ^
  1044.                                   const uint8_t * const srcSlice[],
  1045.                                   const int srcStride[], int srcSliceY,

libavfilter/vf_scale.c:292:12: Call
290. 
291.     avfilter_unref_bufferp(&in);
292.     return ff_filter_frame(outlink, out);
                ^
293. }
294. 

libavfilter/avfilter.c:459:1: Parameter `frame->buf->refcount`
  457. }
  458. 
  459. int ff_filter_frame(AVFilterLink *link, AVFilterBufferRef *frame)
       ^
  460. {
  461.     int (*filter_frame)(AVFilterLink *, AVFilterBufferRef *);

libavfilter/avfilter.c:493:13: Call
  491.         }
  492.         if (!out) {
  493.             avfilter_unref_buffer(frame);
                   ^
  494.             return AVERROR(ENOMEM);
  495.         }

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

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

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