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