libavcodec/fmvc.c:82: error: Integer Overflow L1
  ([-oo, 0] - 2049):unsigned32.

libavcodec/fmvc.c:54:1: <LHS trace>
52. } FMVCContext;
53. 
54. static int decode_type2(GetByteContext *gb, PutByteContext *pb)
    ^
55. {
56.     unsigned repeat = 0, first = 1, opcode;

libavcodec/fmvc.c:54:1: Parameter `*gb->buffer`
52. } FMVCContext;
53. 
54. static int decode_type2(GetByteContext *gb, PutByteContext *pb)
    ^
55. {
56.     unsigned repeat = 0, first = 1, opcode;

libavcodec/fmvc.c:65:21: Call
63.             if (first) {
64.                 first = 0;
65.                 if (bytestream2_peek_byte(gb) > 17) {
                        ^
66.                     len = bytestream2_get_byte(gb) - 17;
67.                     if (len < 4) {

libavcodec/bytestream.h:94:1: Parameter `*g->buffer`
  92. DEF(unsigned int, be24, 3, AV_RB24, AV_WB24)
  93. DEF(unsigned int, be16, 2, AV_RB16, AV_WB16)
  94. DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
      ^
  95. 
  96. #if HAVE_BIGENDIAN

libavcodec/fmvc.c:66:27: Call
64.                 first = 0;
65.                 if (bytestream2_peek_byte(gb) > 17) {
66.                     len = bytestream2_get_byte(gb) - 17;
                              ^
67.                     if (len < 4) {
68.                         do {

libavcodec/bytestream.h:94:1: Parameter `*g->buffer`
  92. DEF(unsigned int, be24, 3, AV_RB24, AV_WB24)
  93. DEF(unsigned int, be16, 2, AV_RB16, AV_WB16)
  94. DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
      ^
  95. 
  96. #if HAVE_BIGENDIAN

libavcodec/fmvc.c:76:54: Call
74.                     } else {
75.                         do {
76.                             bytestream2_put_byte(pb, bytestream2_get_byte(gb));
                                                         ^
77.                             --len;
78.                         } while (len);

libavcodec/bytestream.h:94:1: Parameter `*g->buffer`
  92. DEF(unsigned int, be24, 3, AV_RB24, AV_WB24)
  93. DEF(unsigned int, be16, 2, AV_RB16, AV_WB16)
  94. DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
      ^
  95. 
  96. #if HAVE_BIGENDIAN

libavcodec/fmvc.c:79:34: Call
77.                             --len;
78.                         } while (len);
79.                         opcode = bytestream2_peek_byte(gb);
                                     ^
80.                         if (opcode < 0x10) {
81.                             bytestream2_skip(gb, 1);

libavcodec/bytestream.h:94:1: Assignment
  92. DEF(unsigned int, be24, 3, AV_RB24, AV_WB24)
  93. DEF(unsigned int, be16, 2, AV_RB16, AV_WB16)
  94. DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
      ^
  95. 
  96. #if HAVE_BIGENDIAN

libavcodec/fmvc.c:79:25: Assignment
77.                             --len;
78.                         } while (len);
79.                         opcode = bytestream2_peek_byte(gb);
                            ^
80.                         if (opcode < 0x10) {
81.                             bytestream2_skip(gb, 1);

libavcodec/fmvc.c:82:29: Binary operation: ([-oo, 0] - 2049):unsigned32
80.                         if (opcode < 0x10) {
81.                             bytestream2_skip(gb, 1);
82.                             pos = - (opcode >> 2) - 4 * bytestream2_get_byte(gb) - 2049;
                                ^
83. 
84.                             bytestream2_init(&gbc, pb->buffer_start, pb->buffer_end - pb->buffer_start);
