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

libavcodec/h264.c:2536:9: Call
2534.         /* init cabac */
2535.         ff_init_cabac_states( &h->cabac);
2536.         ff_init_cabac_decoder( &h->cabac,
              ^
2537.                                s->gb.buffer + get_bits_count(&s->gb)/8,
2538.                                (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:2540:9: Call
2538.                                (get_bits_left(&s->gb) + 7)/8);
2539. 
2540.         ff_h264_init_cabac_states(h);
              ^
2541. 
2542.         for(;;){

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

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

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

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

libavcodec/h264_cabac.c:694:42: Array access: Offset: 510 Size: 3 by call to `ff_h264_init_cabac_states` 
  692. 
  693.     if( h->slice_type_nos == AV_PICTURE_TYPE_I ) tab = cabac_context_init_I;
  694.     else                                 tab = cabac_context_init_PB[h->cabac_init_idc];
                                                ^
  695. 
  696.     /* calculate pre-state */
