libavcodec/h261dec.c:179: error: Integer Overflow L2
  ([0, +oo] - 16):unsigned32 by call to `h261_decode_gob_header`.

libavcodec/h261dec.c:172:9: Call
170.         // OK, it is not where it is supposed to be ...
171.         s->bc = s->last_resync_bc;
172.         bitstream_align(&s->bc);
             ^
173.         left = bitstream_bits_left(&s->bc);
174. 

libavcodec/bitstream.h:272:1: Parameter `bc->bits_left`
  270. 
  271. /* Skip bits to a byte boundary. */
  272. static inline const uint8_t *bitstream_align(BitstreamContext *bc)
       ^
  273. {
  274.     unsigned n = -bitstream_tell(bc) & 7;

libavcodec/h261dec.c:176:17: Call
174. 
175.         for (; left > 15 + 1 + 4 + 5; left -= 8) {
176.             if (bitstream_peek(&s->bc, 15) == 0) {
                     ^
177.                 BitstreamContext bak = s->bc;
178. 

libavcodec/bitstream.h:214:1: Parameter `n`
  212. /* Return n bits from the buffer, but do not change the buffer state.
  213.  * n has to be in the 0-32 range. */
  214. static inline unsigned bitstream_peek(BitstreamContext *bc, unsigned n)
       ^
  215. {
  216.     if (n > bc->bits_left)

libavcodec/h261dec.c:179:23: Call
177.                 BitstreamContext bak = s->bc;
178. 
179.                 ret = h261_decode_gob_header(h);
                           ^
180.                 if (ret >= 0)
181.                     return 0;

libavcodec/h261dec.c:101:1: Parameter `h->s.bc.bits_left`
   99.  * @return <0 if an error occurred
  100.  */
  101. static int h261_decode_gob_header(H261Context *h)
       ^
  102. {
  103.     unsigned int val;

libavcodec/h261dec.c:108:15: Call
  106.     if (!h->gob_start_code_skipped) {
  107.         /* Check for GOB Start Code */
  108.         val = bitstream_peek(&s->bc, 15);
                     ^
  109.         if (val)
  110.             return -1;

libavcodec/bitstream.h:214:1: Parameter `n`
    212. /* Return n bits from the buffer, but do not change the buffer state.
    213.  * n has to be in the 0-32 range. */
    214. static inline unsigned bitstream_peek(BitstreamContext *bc, unsigned n)
         ^
    215. {
    216.     if (n > bc->bits_left)

libavcodec/h261dec.c:113:9: Call
  111. 
  112.         /* We have a GBSC */
  113.         bitstream_skip(&s->bc, 16);
               ^
  114.     }
  115. 

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] - 16):unsigned32 by call to `h261_decode_gob_header` 
      234.     bc->bits <<= n;
      235. #endif
      236.     bc->bits_left -= n;
               ^
      237. }
      238. 
