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:344:1: Parameter `size`
  342. }
  343. 
  344. int av_append_packet(AVIOContext *s, AVPacket *pkt, int size)
       ^
  345. {
  346.     int ret;

libavformat/utils.c:351:11: Call
  349.         return av_get_packet(s, pkt, size);
  350.     old_size = pkt->size;
  351.     ret = av_grow_packet(pkt, size);
                 ^
  352.     if (ret < 0)
  353.         return ret;

libavcodec/avpacket.c:75:1: <LHS trace>
73. }
74. 
75. int av_grow_packet(AVPacket *pkt, int grow_by)
    ^
76. {
77.     void *new_ptr;

libavcodec/avpacket.c:75:1: Parameter `grow_by`
    73. }
    74. 
    75. int av_grow_packet(AVPacket *pkt, int grow_by)
        ^
    76. {
    77.     void *new_ptr;

libavcodec/avpacket.c:83:15: Binary operation: ([-oo, 2147483651] + 8):signed32 by call to `av_append_packet` 
    81.     if ((unsigned)grow_by > INT_MAX - (pkt->size + FF_INPUT_BUFFER_PADDING_SIZE))
    82.         return -1;
    83.     new_ptr = av_realloc(pkt->data, pkt->size + grow_by + FF_INPUT_BUFFER_PADDING_SIZE);
                      ^
    84.     if (!new_ptr)
    85.         return AVERROR(ENOMEM);
