libavcodec/motionpixels.c:318: error: Integer Overflow L2
  ([1, 2147483616] + 32):signed32 by call to `av_frame_ref`.

libavcodec/motionpixels.c:280:5: Unknown value from: non-const function
278.     if (!mp->bswapbuf)
279.         return AVERROR(ENOMEM);
280.     mp->dsp.bswap_buf((uint32_t *)mp->bswapbuf, (const uint32_t *)buf, buf_size / 4);
         ^
281.     if (buf_size & 3)
282.         memcpy(mp->bswapbuf + (buf_size & ~3), buf + (buf_size & ~3), buf_size & 3);

libavcodec/motionpixels.c:318:16: Call
316. 
317. end:
318.     if ((ret = av_frame_ref(data, mp->frame)) < 0)
                    ^
319.         return ret;
320.     *got_frame       = 1;

libavutil/frame.c:174:1: Parameter `src->nb_samples`
  172. }
  173. 
  174. int av_frame_ref(AVFrame *dst, const AVFrame *src)
       ^
  175. {
  176.     int i, ret = 0;

libavutil/frame.c:182:5: Assignment
  180.     dst->height         = src->height;
  181.     dst->channel_layout = src->channel_layout;
  182.     dst->nb_samples     = src->nb_samples;
           ^
  183. 
  184.     ret = av_frame_copy_props(dst, src);

libavutil/frame.c:190:15: Call
  188.     /* duplicate the frame data if it's not refcounted */
  189.     if (!src->buf[0]) {
  190.         ret = av_frame_get_buffer(dst, 32);
                     ^
  191.         if (ret < 0)
  192.             return ret;

libavutil/frame.c:161:1: Parameter `frame->nb_samples`
    159. }
    160. 
    161. int av_frame_get_buffer(AVFrame *frame, int align)
         ^
    162. {
    163.     if (frame->format < 0)

libavutil/frame.c:169:16: Call
    167.         return get_video_buffer(frame, align);
    168.     else if (frame->nb_samples > 0 && frame->channel_layout)
    169.         return get_audio_buffer(frame, align);
                        ^
    170. 
    171.     return AVERROR(EINVAL);

libavutil/frame.c:112:1: Parameter `frame->nb_samples`
      110. }
      111. 
      112. static int get_audio_buffer(AVFrame *frame, int align)
           ^
      113. {
      114.     int channels = av_get_channel_layout_nb_channels(frame->channel_layout);

libavutil/frame.c:120:15: Call
      118. 
      119.     if (!frame->linesize[0]) {
      120.         ret = av_samples_get_buffer_size(&frame->linesize[0], channels,
                         ^
      121.                                          frame->nb_samples, frame->format,
      122.                                          align);

libavutil/samplefmt.c:108:1: <LHS trace>
106. }
107. 
108. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
     ^
109.                                enum AVSampleFormat sample_fmt, int align)
110. {

libavutil/samplefmt.c:108:1: Parameter `nb_samples`
        106. }
        107. 
        108. int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
             ^
        109.                                enum AVSampleFormat sample_fmt, int align)
        110. {

libavutil/samplefmt.c:124:9: Binary operation: ([1, 2147483616] + 32):signed32 by call to `av_frame_ref` 
        122.             return AVERROR(EINVAL);
        123.         align = 1;
        124.         nb_samples = FFALIGN(nb_samples, 32);
                     ^
        125.     }
        126. 
