libavformat/wc3movie.c:178: error: Integer Overflow L2
  ([-oo, 5592404] × 768):signed32.

libavformat/wc3movie.c:173:13: <LHS trace>
171.             if ((ret = get_buffer(pb, preamble, 4)) != 4)
172.                 return AVERROR(EIO);
173.             wc3->palette_count = AV_RL32(&preamble[0]);
                 ^
174.             if((unsigned)wc3->palette_count >= UINT_MAX / PALETTE_SIZE){
175.                 wc3->palette_count= 0;

libavformat/wc3movie.c:173:13: Assignment
171.             if ((ret = get_buffer(pb, preamble, 4)) != 4)
172.                 return AVERROR(EIO);
173.             wc3->palette_count = AV_RL32(&preamble[0]);
                 ^
174.             if((unsigned)wc3->palette_count >= UINT_MAX / PALETTE_SIZE){
175.                 wc3->palette_count= 0;

libavformat/wc3movie.c:178:29: Binary operation: ([-oo, 5592404] × 768):signed32
176.                 return -1;
177.             }
178.             wc3->palettes = av_malloc(wc3->palette_count * PALETTE_SIZE);
                                 ^
179.             break;
180. 
