libavcodec/on2avc.c:232: error: Integer Overflow L2
  ([0, +oo] - 9):unsigned32 by call to `bitstream_read_vlc`.

libavcodec/on2avc.c:226:1: Parameter `bc->bits_left`
224. }
225. 
226. static int on2avc_decode_pairs(On2AVCContext *c, BitstreamContext *bc, float *dst,
     ^
227.                                int dst_size, int type, float band_scale)
228. {

libavcodec/on2avc.c:232:15: Call
230. 
231.     for (i = 0; i < dst_size; i += 2) {
232.         val = bitstream_read_vlc(bc, c->cb_vlc[type].table, 9, 3);
                   ^
233. 
234.         val1 = sign_extend(val >> 8,   8);

libavcodec/bitstream.h:313:1: Parameter `bits`
  311.  * If the VLC code is invalid and max_depth > 1, then the number of bits removed
  312.  * is undefined. */
  313. static inline int bitstream_read_vlc(BitstreamContext *bc, VLC_TYPE (*table)[2],
       ^
  314.                                      int bits, int max_depth)
  315. {

libavcodec/bitstream.h:322:9: Call
  320. 
  321.     if (max_depth > 1 && n < 0) {
  322.         skip_remaining(bc, bits);
               ^
  323.         code = set_idx(bc, code, &n, &nb_bits, table);
  324.         if (max_depth > 2 && n < 0) {

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

static inline void skip_remaining(BitstreamContext *bc, unsigned n)
{
#ifdef BITSTREAM_READER_LE
    bc->bits >>= n;
#else
    bc->bits <<= n;
#endif
    bc->bits_left -= n;
}
['static int on2avc_decode_pairs(On2AVCContext *c, BitstreamContext *bc, float *dst,\n                               int dst_size, int type, float band_scale)\n{\n    int i, val, val1, val2, sign;\n    for (i = 0; i < dst_size; i += 2) {\n        val = bitstream_read_vlc(bc, c->cb_vlc[type].table, 9, 3);\n        val1 = sign_extend(val >> 8,   8);\n        val2 = sign_extend(val & 0xFF, 8);\n        if (type == ON2AVC_ESC_CB) {\n            if (val1 <= -16 || val1 >= 16) {\n                sign = 1 - (val1 < 0) * 2;\n                val1 = sign * get_egolomb(bc);\n            }\n            if (val2 <= -16 || val2 >= 16) {\n                sign = 1 - (val2 < 0) * 2;\n                val2 = sign * get_egolomb(bc);\n            }\n        }\n        *dst++ = on2avc_scale(val1, band_scale);\n        *dst++ = on2avc_scale(val2, band_scale);\n    }\n    return 0;\n}', 'static inline int bitstream_read_vlc(BitstreamContext *bc, VLC_TYPE (*table)[2],\n                                     int bits, int max_depth)\n{\n    int nb_bits;\n    unsigned idx = bitstream_peek(bc, bits);\n    int code = table[idx][0];\n    int n    = table[idx][1];\n    if (max_depth > 1 && n < 0) {\n        skip_remaining(bc, bits);\n        code = set_idx(bc, code, &n, &nb_bits, table);\n        if (max_depth > 2 && n < 0) {\n            skip_remaining(bc, nb_bits);\n            code = set_idx(bc, code, &n, &nb_bits, table);\n        }\n    }\n    skip_remaining(bc, n);\n    return code;\n}', 'static inline void skip_remaining(BitstreamContext *bc, unsigned n)\n{\n#ifdef BITSTREAM_READER_LE\n    bc->bits >>= n;\n#else\n    bc->bits <<= n;\n#endif\n    bc->bits_left -= n;\n}']