libavformat/idroqdec.c:195: error: Integer Overflow L2
  ([-oo, 2147483655] + 8):signed32 by call to `av_new_packet`.

libavformat/idroqdec.c:117:22: Call
115. 
116.         chunk_type = AV_RL16(&preamble[0]);
117.         chunk_size = AV_RL32(&preamble[2]);
                          ^
118.         if(chunk_size > INT_MAX)
119.             return AVERROR_INVALIDDATA;

libavutil/ppc/intreadwrite.h:48:5: Assignment
  46.     uint32_t v;
  47.     __asm__ ("lwbrx   %0, %y1" : "=r"(v) : "Z"(*(const uint32_t*)p));
  48.     return v;
          ^
  49. }
  50. 

libavformat/idroqdec.c:117:9: Assignment
115. 
116.         chunk_type = AV_RL16(&preamble[0]);
117.         chunk_size = AV_RL32(&preamble[2]);
             ^
118.         if(chunk_size > INT_MAX)
119.             return AVERROR_INVALIDDATA;

libavformat/idroqdec.c:195:17: Call
193.         case RoQ_QUAD_VQ:
194.             /* load up the packet */
195.             if (av_new_packet(pkt, chunk_size + RoQ_CHUNK_PREAMBLE_SIZE))
                     ^
196.                 return AVERROR(EIO);
197.             /* copy over preamble */

libavcodec/avpacket.c:62:1: <LHS trace>
60. }
61. 
62. int av_new_packet(AVPacket *pkt, int size)
    ^
63. {
64.     AVBufferRef *buf = NULL;

libavcodec/avpacket.c:62:1: Parameter `size`
  60. }
  61. 
  62. int av_new_packet(AVPacket *pkt, int size)
      ^
  63. {
  64.     AVBufferRef *buf = NULL;

libavcodec/avpacket.c:69:5: Binary operation: ([-oo, 2147483655] + 8):signed32 by call to `av_new_packet` 
  67.         return AVERROR(EINVAL);
  68. 
  69.     av_buffer_realloc(&buf, size + FF_INPUT_BUFFER_PADDING_SIZE);
          ^
  70.     if (!buf)
  71.         return AVERROR(ENOMEM);
