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

libavcodec/alsdec.c:1484:5: Call
1482.     unsigned int c, sample, ra_frame, bytes_read, shift;
1483. 
1484.     bitstream_init8(&ctx->bc, buffer, buffer_size);
          ^
1485. 
1486.     // In the case that the distance between random access frames is set to zero

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

libavcodec/alsdec.c:1500:26: Call
1498. 
1499.     // decode the frame data
1500.     if ((invalid_frame = read_frame_data(ctx, ra_frame)) < 0)
                               ^
1501.         av_log(ctx->avctx, AV_LOG_WARNING,
1502.                "Reading frame data failed. Skipping RA unit.\n");

libavcodec/alsdec.c:1327:1: Parameter `ctx->bc.bits_left`
  1325. /** Read the frame data.
  1326.  */
  1327. static int read_frame_data(ALSDecContext *ctx, unsigned int ra_frame)
        ^
  1328. {
  1329.     ALSSpecificConfig *sconf = &ctx->sconf;

libavcodec/alsdec.c:1340:9: Call
  1338.     // skip the size of the ra unit if present in the frame
  1339.     if (sconf->ra_flag == RA_FLAG_FRAMES && ra_frame)
  1340.         bitstream_skip(bc, 32);
                ^
  1341. 
  1342.     if (sconf->mc_coding && sconf->joint_stereo) {

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 `read_frame_data` 
      235.     bc->bits <<= n;
      236. #endif
      237.     bc->bits_left -= n;
               ^
      238. }
      239. 
