libavformat/wc3movie.c:223: error: Integer Overflow L2
  ([-oo, 2147483651] + 8):signed32 by call to `av_append_packet`.

libavformat/wc3movie.c:234:36: Assignment
232.                 ret = 0;
233.             *pkt = wc3->vpkt;
234.             wc3->vpkt.data = NULL; wc3->vpkt.size = 0;
                                        ^
235.             pkt->stream_index = wc3->video_stream_index;
236.             pkt->pts = wc3->pts;

libavformat/wc3movie.c:223:13: Call
221.             /* load up new palette */
222.             avio_seek(pb, -8, SEEK_CUR);
223.             av_append_packet(pb, &wc3->vpkt, 8 + 4);
                 ^
224.             break;
225. 

libavformat/utils.c:287:1: Parameter `size`
  285. }
  286. 
  287. int av_append_packet(AVIOContext *s, AVPacket *pkt, int size)
       ^
  288. {
  289.     int ret;

libavformat/utils.c:294:11: Call
  292.         return av_get_packet(s, pkt, size);
  293.     old_size = pkt->size;
  294.     ret = av_grow_packet(pkt, size);
                 ^
  295.     if (ret < 0)
  296.         return ret;

libavcodec/avpacket.c:88:1: <LHS trace>
86. }
87. 
88. int av_grow_packet(AVPacket *pkt, int grow_by)
    ^
89. {
90.     void *new_ptr;

libavcodec/avpacket.c:88:1: Parameter `grow_by`
    86. }
    87. 
    88. int av_grow_packet(AVPacket *pkt, int grow_by)
        ^
    89. {
    90.     void *new_ptr;

libavcodec/avpacket.c:97:15: Binary operation: ([-oo, 2147483651] + 8):signed32 by call to `av_append_packet` 
    95.         INT_MAX - (pkt->size + FF_INPUT_BUFFER_PADDING_SIZE))
    96.         return -1;
    97.     new_ptr = av_realloc(pkt->data,
                      ^
    98.                          pkt->size + grow_by + FF_INPUT_BUFFER_PADDING_SIZE);
    99.     if (!new_ptr)
