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

libavcodec/h264_refs.c:663:25: <LHS trace>
661.     h->mmco_index= 0;
662.     if(h->nal_unit_type == NAL_IDR_SLICE){ //FIXME fields
663.         s->broken_link= get_bits1(gb) -1;
                             ^
664.         if(get_bits1(gb)){
665.             h->mmco[0].opcode= MMCO_LONG;

libavcodec/h264_refs.c:663:25: Call
661.     h->mmco_index= 0;
662.     if(h->nal_unit_type == NAL_IDR_SLICE){ //FIXME fields
663.         s->broken_link= get_bits1(gb) -1;
                             ^
664.         if(get_bits1(gb)){
665.             h->mmco[0].opcode= MMCO_LONG;

libavcodec/get_bits.h:255:1: Parameter `s->index`
  253. }
  254. 
  255. static inline unsigned int get_bits1(GetBitContext *s)
       ^
  256. {
  257.     unsigned int index = s->index;

libavcodec/get_bits.h:257:5: Assignment
  255. static inline unsigned int get_bits1(GetBitContext *s)
  256. {
  257.     unsigned int index = s->index;
           ^
  258.     uint8_t result = s->buffer[index>>3];
  259. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:260:5: Assignment
  258.     uint8_t result = s->buffer[index>>3];
  259. #ifdef BITSTREAM_READER_LE
  260.     result >>= index & 7;
           ^
  261.     result &= 1;
  262. #else

libavcodec/get_bits.h:261:5: Assignment
  259. #ifdef BITSTREAM_READER_LE
  260.     result >>= index & 7;
  261.     result &= 1;
           ^
  262. #else
  263.     result <<= index & 7;

libavcodec/get_bits.h:272:5: Assignment
  270.     s->index = index;
  271. 
  272.     return result;
           ^
  273. }
  274. 

libavcodec/h264_refs.c:663:9: Binary operation: ([0, 1] - 1):unsigned32
661.     h->mmco_index= 0;
662.     if(h->nal_unit_type == NAL_IDR_SLICE){ //FIXME fields
663.         s->broken_link= get_bits1(gb) -1;
             ^
664.         if(get_bits1(gb)){
665.             h->mmco[0].opcode= MMCO_LONG;
