libavcodec/h264.c:2196: error: Buffer Overrun L1
  Offset: 510 Size: 3 by call to `ff_h264_init_cabac_states`.

libavcodec/h264.c:2192:9: Call
2190.         /* init cabac */
2191.         ff_init_cabac_states( &h->cabac);
2192.         ff_init_cabac_decoder( &h->cabac,
              ^
2193.                                s->gb.buffer + get_bits_count(&s->gb)/8,
2194.                                (get_bits_left(&s->gb) + 7)/8);

libavcodec/cabac.c:146:5: Assignment
  144. #endif
  145.     c->low+= ((*c->bytestream++)<<2) + 2;
  146.     c->range= 0x1FE;
           ^
  147. }
  148. 

libavcodec/h264.c:2196:9: Call
2194.                                (get_bits_left(&s->gb) + 7)/8);
2195. 
2196.         ff_h264_init_cabac_states(h);
              ^
2197. 
2198.         for(;;){

libavcodec/h264_cabac.c:686:1: <Offset trace>
684. };
685. 
686. void ff_h264_init_cabac_states(H264Context *h) {
     ^
687.     MpegEncContext * const s = &h->s;
688.     int i;

libavcodec/h264_cabac.c:686:1: Parameter `h->cabac_init_idc`
  684. };
  685. 
  686. void ff_h264_init_cabac_states(H264Context *h) {
       ^
  687.     MpegEncContext * const s = &h->s;
  688.     int i;

libavcodec/h264_cabac.c:215:1: <Length trace>
213. };
214. 
215. static const int8_t cabac_context_init_PB[3][460][2] =
     ^
216. {
217.     /* i_cabac_init_idc == 0 */

libavcodec/h264_cabac.c:215:1: Array declaration
  213. };
  214. 
  215. static const int8_t cabac_context_init_PB[3][460][2] =
       ^
  216. {
  217.     /* i_cabac_init_idc == 0 */

libavcodec/h264_cabac.c:696:30: Array access: Offset: 510 Size: 3 by call to `ff_h264_init_cabac_states` 
  694.             pre = av_clip( ((cabac_context_init_I[i][0] * s->qscale) >>4 ) + cabac_context_init_I[i][1], 1, 126 );
  695.         else
  696.             pre = av_clip( ((cabac_context_init_PB[h->cabac_init_idc][i][0] * s->qscale) >>4 ) + cabac_context_init_PB[h->cabac_init_idc][i][1], 1, 126 );
                                    ^
  697. 
  698.         if( pre <= 63 )
