libavcodec/svq1dec.c:651: error: Integer Overflow L2
  ([0, +oo] - 22):unsigned32 by call to `bitstream_skip`.

libavcodec/svq1dec.c:622:21: Call
620. 
621.     /* decode frame header */
622.     s->frame_code = bitstream_read(&s->bc, 22);
                         ^
623. 
624.     if ((s->frame_code & ~0x70) || !(s->frame_code & 0x60))

libavcodec/bitstream.h:182:1: Parameter `bc->bits_left`
  180. 
  181. /* Return n bits from the buffer. n has to be in the 0-32 range. */
  182. static inline uint32_t bitstream_read(BitstreamContext *bc, unsigned n)
       ^
  183. {
  184.     if (!n)

libavcodec/svq1dec.c:650:9: Call
648.             src[i] = ((src[i] << 16) | (src[i] >> 16)) ^ src[7 - i];
649. 
650.         bitstream_init8(&s->bc, buf, buf_size);
             ^
651.         bitstream_skip(&s->bc, 22);
652.     }

libavcodec/bitstream.h:103:1: Parameter `bc->bits_left`
  101. 
  102. /* Initialize BitstreamContext with buffer size in bytes instead of bits. */
  103. static inline int bitstream_init8(BitstreamContext *bc, const uint8_t *buffer,
       ^
  104.                                   unsigned byte_size)
  105. {

libavcodec/svq1dec.c:651:9: Call
649. 
650.         bitstream_init8(&s->bc, buf, buf_size);
651.         bitstream_skip(&s->bc, 22);
             ^
652.     }
653. 

libavcodec/bitstream.h:240:1: Parameter `n`
  238. 
  239. /* Skip n bits in the buffer. */
  240. static inline void bitstream_skip(BitstreamContext *bc, unsigned n)
       ^
  241. {
  242.     if (n < bc->bits_left)

libavcodec/bitstream.h:243:9: Call
  241. {
  242.     if (n < bc->bits_left)
  243.         skip_remaining(bc, n);
               ^
  244.     else {
  245.         n -= bc->bits_left;

libavcodec/bitstream.h:229:1: <LHS trace>
227. }
228. 
229. static inline void skip_remaining(BitstreamContext *bc, unsigned n)
     ^
230. {
231. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:229:1: Parameter `bc->bits_left`
    227. }
    228. 
    229. static inline void skip_remaining(BitstreamContext *bc, unsigned n)
         ^
    230. {
    231. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:229:1: <RHS trace>
227. }
228. 
229. static inline void skip_remaining(BitstreamContext *bc, unsigned n)
     ^
230. {
231. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:229:1: Parameter `n`
    227. }
    228. 
    229. static inline void skip_remaining(BitstreamContext *bc, unsigned n)
         ^
    230. {
    231. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:236:5: Binary operation: ([0, +oo] - 22):unsigned32 by call to `bitstream_skip` 
    234.     bc->bits <<= n;
    235. #endif
    236.     bc->bits_left -= n;
             ^
    237. }
    238. 
