libavcodec/h264_refs.c:694: error: Integer Overflow L2
  ([0, 1] - 1):unsigned32.

libavcodec/h264_refs.c:694:26: <LHS trace>
692. 
693.     if (h->nal_unit_type == NAL_IDR_SLICE){ // FIXME fields
694.         s->broken_link = get_bits1(gb) - 1;
                              ^
695.         if (get_bits1(gb)){
696.             mmco[0].opcode = MMCO_LONG;

libavcodec/h264_refs.c:694:26: Call
692. 
693.     if (h->nal_unit_type == NAL_IDR_SLICE){ // FIXME fields
694.         s->broken_link = get_bits1(gb) - 1;
                              ^
695.         if (get_bits1(gb)){
696.             mmco[0].opcode = MMCO_LONG;

libavcodec/get_bits.h:268:1: Parameter `s->index`
  266. }
  267. 
  268. static inline unsigned int get_bits1(GetBitContext *s)
       ^
  269. {
  270.     unsigned int index = s->index;

libavcodec/get_bits.h:270:5: Assignment
  268. static inline unsigned int get_bits1(GetBitContext *s)
  269. {
  270.     unsigned int index = s->index;
           ^
  271.     uint8_t result = s->buffer[index>>3];
  272. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:273:5: Assignment
  271.     uint8_t result = s->buffer[index>>3];
  272. #ifdef BITSTREAM_READER_LE
  273.     result >>= index & 7;
           ^
  274.     result &= 1;
  275. #else

libavcodec/get_bits.h:274:5: Assignment
  272. #ifdef BITSTREAM_READER_LE
  273.     result >>= index & 7;
  274.     result &= 1;
           ^
  275. #else
  276.     result <<= index & 7;

libavcodec/get_bits.h:285:5: Assignment
  283.     s->index = index;
  284. 
  285.     return result;
           ^
  286. }
  287. 

libavcodec/h264_refs.c:694:9: Binary operation: ([0, 1] - 1):unsigned32
692. 
693.     if (h->nal_unit_type == NAL_IDR_SLICE){ // FIXME fields
694.         s->broken_link = get_bits1(gb) - 1;
             ^
695.         if (get_bits1(gb)){
696.             mmco[0].opcode = MMCO_LONG;
