libavcodec/flacdec.c:377: error: Integer Overflow L2
  ([1, +oo] - [1, 32]):unsigned32 by call to `bitstream_read_signed`.

libavcodec/flacdec.c:334:1: Parameter `s->bps`
332. }
333. 
334. static inline int decode_subframe(FLACContext *s, int channel)
     ^
335. {
336.     int32_t *decoded = s->decoded[channel];

libavcodec/flacdec.c:338:5: Assignment
336.     int32_t *decoded = s->decoded[channel];
337.     int type, wasted = 0;
338.     int bps = s->bps;
         ^
339.     int i, tmp, ret;
340. 

libavcodec/flacdec.c:377:15: Call
375. //FIXME use av_log2 for types
376.     if (type == 0) {
377.         tmp = bitstream_read_signed(&s->bc, bps);
                   ^
378.         for (i = 0; i < s->blocksize; i++)
379.             decoded[i] = tmp;

libavcodec/bitstream.h:198:1: Parameter `n`
  196. /* Return n bits from the buffer as a signed integer.
  197.  * n has to be in the 0-32 range. */
  198. static inline int32_t bitstream_read_signed(BitstreamContext *bc, unsigned n)
       ^
  199. {
  200.     return sign_extend(bitstream_read(bc, n), n);

libavcodec/bitstream.h:200:24: Call
  198. static inline int32_t bitstream_read_signed(BitstreamContext *bc, unsigned n)
  199. {
  200.     return sign_extend(bitstream_read(bc, n), n);
                              ^
  201. }
  202. 

libavcodec/bitstream.h:182:1: Parameter `n`
    180. 
    181. /* Return n bits from the buffer. n has to be in the 0-32 range. */
    182. static inline uint32_t bitstream_read(BitstreamContext *bc, unsigned n)
         ^
    183. {
    184.     if (!n)

libavcodec/bitstream.h:193:12: Call
    191.     }
    192. 
    193.     return get_val(bc, n);
                    ^
    194. }
    195. 

libavcodec/bitstream.h:129:1: <LHS trace>
127. }
128. 
129. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
     ^
130. {
131. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:129:1: Parameter `bc->bits_left`
      127. }
      128. 
      129. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
           ^
      130. {
      131. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:129:1: <RHS trace>
127. }
128. 
129. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
     ^
130. {
131. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:129:1: Parameter `n`
      127. }
      128. 
      129. static inline uint64_t get_val(BitstreamContext *bc, unsigned n)
           ^
      130. {
      131. #ifdef BITSTREAM_READER_LE

libavcodec/bitstream.h:138:5: Binary operation: ([1, +oo] - [1, 32]):unsigned32 by call to `bitstream_read_signed` 
      136.     bc->bits <<= n;
      137. #endif
      138.     bc->bits_left -= n;
               ^
      139. 
      140.     return ret;
