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

libavformat/idroq.c:197:9: Assignment
195. 
196.         chunk_type = AV_RL16(&preamble[0]);
197.         chunk_size = AV_RL32(&preamble[2]);
             ^
198.         if(chunk_size > INT_MAX)
199.             return AVERROR_INVALIDDATA;

libavformat/idroq.c:237:17: Call
235.         case RoQ_QUAD_VQ:
236.             /* load up the packet */
237.             if (av_new_packet(pkt, chunk_size + RoQ_CHUNK_PREAMBLE_SIZE))
                     ^
238.                 return AVERROR(EIO);
239.             /* copy over preamble */

libavformat/utils.c:205:1: <LHS trace>
203. }
204. 
205. int av_new_packet(AVPacket *pkt, int size)
     ^
206. {
207.     uint8_t *data;

libavformat/utils.c:205:1: Parameter `size`
  203. }
  204. 
  205. int av_new_packet(AVPacket *pkt, int size)
       ^
  206. {
  207.     uint8_t *data;

libavformat/utils.c:210:12: Binary operation: ([-oo, 2147483655] + 8):signed32 by call to `av_new_packet` 
  208.     if((unsigned)size > (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE)
  209.         return AVERROR(ENOMEM);
  210.     data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
                  ^
  211.     if (!data)
  212.         return AVERROR(ENOMEM);
