libavcodec/cavsdec.c:1029: error: Integer Overflow L2
  ([0, +oo] - 32):unsigned32 by call to `check_for_slice`.

libavcodec/cavsdec.c:1030:13: Call
1028.         do {
1029.             check_for_slice(h);
1030.             decode_mb_i(h, 0);
                  ^
1031.         } while (ff_cavs_next_mb(h));
1032.     } else if (h->cur.f->pict_type == AV_PICTURE_TYPE_P) {

libavcodec/cavsdec.c:700:5: Call
  698.                                   h->left_border_v, h->c_stride);
  699. 
  700.     decode_residual_chroma(h);
           ^
  701.     ff_cavs_filter(h, I_8X8);
  702.     set_mv_intra(h);

libavcodec/cavsdec.c:588:1: Parameter `h->bc.bits_left`
    586. 
    587. 
    588. static inline void decode_residual_chroma(AVSContext *h)
         ^
    589. {
    590.     if (h->cbp & (1 << 4))

libavcodec/cavsdec.c:1029:13: Call
1027.     if (h->cur.f->pict_type == AV_PICTURE_TYPE_I) {
1028.         do {
1029.             check_for_slice(h);
                  ^
1030.             decode_mb_i(h, 0);
1031.         } while (ff_cavs_next_mb(h));

libavcodec/cavsdec.c:910:9: Assignment
  908.     /* check for stuffing byte */
  909.     if (!align && (bitstream_peek(bc, 8) == 0x80))
  910.         align = 8;
               ^
  911.     if ((bitstream_peek(bc, 24 + align) & 0xFFFFFF) == 0x000001) {
  912.         bitstream_skip(bc, 24 + align);

libavcodec/cavsdec.c:912:9: Call
  910.         align = 8;
  911.     if ((bitstream_peek(bc, 24 + align) & 0xFFFFFF) == 0x000001) {
  912.         bitstream_skip(bc, 24 + align);
               ^
  913.         h->stc = bitstream_read(bc, 8);
  914.         if (h->stc >= h->mb_height)

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

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

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

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

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

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

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