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

libavformat/idroq.c:123:9: Assignment
121. 
122.         chunk_type = AV_RL16(&preamble[0]);
123.         chunk_size = AV_RL32(&preamble[2]);
             ^
124.         if(chunk_size > INT_MAX)
125.             return AVERROR_INVALIDDATA;

libavformat/idroq.c:186:17: Call
184.         case RoQ_QUAD_VQ:
185.             /* load up the packet */
186.             if (av_new_packet(pkt, chunk_size + RoQ_CHUNK_PREAMBLE_SIZE))
                     ^
187.                 return AVERROR(EIO);
188.             /* copy over preamble */

libavcodec/avpacket.c:48:1: <LHS trace>
46. }
47. 
48. int av_new_packet(AVPacket *pkt, int size)
    ^
49. {
50.     uint8_t *data= NULL;

libavcodec/avpacket.c:48:1: Parameter `size`
  46. }
  47. 
  48. int av_new_packet(AVPacket *pkt, int size)
      ^
  49. {
  50.     uint8_t *data= NULL;

libavcodec/avpacket.c:52:16: Binary operation: ([-oo, 2147483655] + 8):signed32 by call to `av_new_packet` 
  50.     uint8_t *data= NULL;
  51.     if((unsigned)size < (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE)
  52.         data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
                     ^
  53.     if (data){
  54.         memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
