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

libavcodec/alsdec.c:1070:28: Assignment
1068.     unsigned int offset = 0;
1069.     unsigned int b;
1070.     ALSBlockData bd[2] = { { 0 } };
                                 ^
1071. 
1072.     bd[0].ra_block         = ra_frame;

libavcodec/alsdec.c:1111:12: Call
1109.         bd[1].raw_other    = bd[0].raw_samples;
1110. 
1111.         if(read_decode_block(ctx, &bd[0]) || read_decode_block(ctx, &bd[1])) {
                 ^
1112.             // damaged block, write zero for the rest of the frame
1113.             zero_remaining(b, ctx->num_blocks, div_blocks, bd[0].raw_samples);

libavcodec/alsdec.c:991:1: Parameter `bd->block_length`
  989. /** Read and decode block data successively.
  990.  */
  991. static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd)
       ^
  992. {
  993.     int ret;

libavcodec/alsdec.c:1000:11: Call
   998.         return ret;
   999. 
  1000.     ret = decode_block(ctx, bd);
                  ^
  1001. 
  1002.     return ret;

libavcodec/alsdec.c:969:1: Parameter `bd->block_length`
    967. /** Decode the block data.
    968.  */
    969. static int decode_block(ALSDecContext *ctx, ALSBlockData *bd)
         ^
    970. {
    971.     unsigned int smp;

libavcodec/alsdec.c:975:9: Call
    973.     // read block type flag and read the samples accordingly
    974.     if (*bd->const_block)
    975.         decode_const_block_data(ctx, bd);
                 ^
    976.     else if (decode_var_block_data(ctx, bd))
    977.         return -1;

libavcodec/alsdec.c:580:1: <LHS trace>
578. /** Decode the block data for a constant block
579.  */
580. static void decode_const_block_data(ALSDecContext *ctx, ALSBlockData *bd)
     ^
581. {
582.     int      smp = bd->block_length - 1;

libavcodec/alsdec.c:580:1: Parameter `bd->block_length`
      578. /** Decode the block data for a constant block
      579.  */
      580. static void decode_const_block_data(ALSDecContext *ctx, ALSBlockData *bd)
           ^
      581. {
      582.     int      smp = bd->block_length - 1;

libavcodec/alsdec.c:582:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `read_decode_block` 
      580. static void decode_const_block_data(ALSDecContext *ctx, ALSBlockData *bd)
      581. {
      582.     int      smp = bd->block_length - 1;
               ^
      583.     int32_t  val = *bd->raw_samples;
      584.     int32_t *dst = bd->raw_samples + 1;
