libavcodec/ralf.c:218: error: Integer Overflow L2
  ([0, +oo] - [`bc->bits_left`, `bc->bits_left` + 32]):unsigned32 by call to `get_ue_golomb`.

libavcodec/ralf.c:215:1: Parameter `bc->bits_left`
213. }
214. 
215. static inline int extend_code(BitstreamContext *bc, int val, int range, int bits)
     ^
216. {
217.     if (val == 0) {

libavcodec/ralf.c:218:24: Call
216. {
217.     if (val == 0) {
218.         val = -range - get_ue_golomb(bc);
                            ^
219.     } else if (val == range * 2) {
220.         val =  range + get_ue_golomb(bc);

libavcodec/golomb.h:53:1: Global `ff_golomb_vlc_len`
  51.  * read unsigned exp golomb code.
  52.  */
  53. static inline int get_ue_golomb(BitstreamContext *bc)
      ^
  54. {
  55.     unsigned int buf;

libavcodec/golomb.h:61:9: Call
  59.     if (buf >= (1 << 27)) {
  60.         buf >>= 32 - 9;
  61.         bitstream_skip(bc, ff_golomb_vlc_len[buf]);
              ^
  62. 
  63.         return ff_ue_golomb_vlc_code[buf];

libavcodec/bitstream.h:240:1: <LHS trace>
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: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:240:1: <RHS trace>
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: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:245:9: Binary operation: ([0, +oo] - [bc->bits_left, bc->bits_left + 32]):unsigned32 by call to `get_ue_golomb` 
    243.         skip_remaining(bc, n);
    244.     else {
    245.         n -= bc->bits_left;
                 ^
    246.         bc->bits      = 0;
    247.         bc->bits_left = 0;

static inline void bitstream_skip(BitstreamContext *bc, unsigned n)
{
    if (n < bc->bits_left)
        skip_remaining(bc, n);
    else {
        n -= bc->bits_left;
        bc->bits      = 0;
        bc->bits_left = 0;
        if (n >= 64) {
            unsigned skip = n / 8;
            n -= skip * 8;
            bc->ptr += skip;
        }
        refill_64(bc);
        if (n)
            skip_remaining(bc, n);
    }
}
['static inline int extend_code(BitstreamContext *bc, int val, int range, int bits)\n{\n    if (val == 0) {\n        val = -range - get_ue_golomb(bc);\n    } else if (val == range * 2) {\n        val =  range + get_ue_golomb(bc);\n    } else {\n        val -= range;\n    }\n    if (bits)\n        val = (val << bits) | bitstream_read(bc, bits);\n    return val;\n}', 'static inline int get_ue_golomb(BitstreamContext *bc)\n{\n    unsigned int buf;\n    buf = bitstream_peek(bc, 32);\n    if (buf >= (1 << 27)) {\n        buf >>= 32 - 9;\n        bitstream_skip(bc, ff_golomb_vlc_len[buf]);\n        return ff_ue_golomb_vlc_code[buf];\n    } else {\n        int log = 2 * av_log2(buf) - 31;\n        buf >>= log;\n        buf--;\n        bitstream_skip(bc, 32 - log);\n        return buf;\n    }\n}', 'static inline void bitstream_skip(BitstreamContext *bc, unsigned n)\n{\n    if (n < bc->bits_left)\n        skip_remaining(bc, n);\n    else {\n        n -= bc->bits_left;\n        bc->bits      = 0;\n        bc->bits_left = 0;\n        if (n >= 64) {\n            unsigned skip = n / 8;\n            n -= skip * 8;\n            bc->ptr += skip;\n        }\n        refill_64(bc);\n        if (n)\n            skip_remaining(bc, n);\n    }\n}']