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

libavcodec/cbs_mpeg2_syntax_template.c:306:9: Call
304.         ui(1, intra_slice);
305.         ui(1, slice_picture_id_enable);
306.         ui(6, slice_picture_id);
             ^
307. 
308.         {

libavcodec/cbs.c:307:1: Parameter `bc->bits_left`
  305. }
  306. 
  307. int ff_cbs_read_unsigned(CodedBitstreamContext *ctx, BitstreamContext *bc,
       ^
  308.                          int width, const char *name, uint32_t *write_to,
  309.                          uint32_t range_min, uint32_t range_max)

libavcodec/cbs_mpeg2_syntax_template.c:314:25: Call
312.             uint8_t bit;
313.             start = *rw;
314.             for (k = 0; nextbits(1, 1, bit); k++)
                             ^
315.                 bitstream_skip(rw, 8);
316.             current->extra_information_length = k;

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/cbs_mpeg2_syntax_template.c:315:17: Call
313.             start = *rw;
314.             for (k = 0; nextbits(1, 1, bit); k++)
315.                 bitstream_skip(rw, 8);
                     ^
316.             current->extra_information_length = k;
317.             if (k > 0) {

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