libavcodec/h264.c:7592: error: Buffer Overrun L3
  Offset: [-1, +oo] Size: 8 by call to `execute_decode_slices`.

libavcodec/h264.c:7434:5: Assignment
7432.     int buf_index=0;
7433.     H264Context *hx; ///< thread context
7434.     int context_count = 0;
          ^
7435. 
7436.     h->max_contexts = avctx->thread_count;

libavcodec/h264.c:7592:13: Call
7590. 
7591.         if(context_count == h->max_contexts) {
7592.             execute_decode_slices(h, context_count);
                  ^
7593.             context_count = 0;
7594.         }

libavcodec/h264.c:7399:1: <Offset trace>
7397.  * @param context_count number of contexts to execute
7398.  */
7399. static void execute_decode_slices(H264Context *h, int context_count){
      ^
7400.     MpegEncContext * const s = &h->s;
7401.     AVCodecContext * const avctx= s->avctx;

libavcodec/h264.c:7399:1: Parameter `context_count`
  7397.  * @param context_count number of contexts to execute
  7398.  */
  7399. static void execute_decode_slices(H264Context *h, int context_count){
        ^
  7400.     MpegEncContext * const s = &h->s;
  7401.     AVCodecContext * const avctx= s->avctx;

libavcodec/h264.c:7399:1: <Length trace>
7397.  * @param context_count number of contexts to execute
7398.  */
7399. static void execute_decode_slices(H264Context *h, int context_count){
      ^
7400.     MpegEncContext * const s = &h->s;
7401.     AVCodecContext * const avctx= s->avctx;

libavcodec/h264.c:7399:1: Parameter `h->thread_context[*]`
  7397.  * @param context_count number of contexts to execute
  7398.  */
  7399. static void execute_decode_slices(H264Context *h, int context_count){
        ^
  7400.     MpegEncContext * const s = &h->s;
  7401.     AVCodecContext * const avctx= s->avctx;

libavcodec/h264.c:7418:14: Array access: Offset: [-1, +oo] Size: 8 by call to `execute_decode_slices` 
  7416. 
  7417.         /* pull back stuff from slices to master context */
  7418.         hx = h->thread_context[context_count - 1];
                     ^
  7419.         s->mb_x = hx->s.mb_x;
  7420.         s->mb_y = hx->s.mb_y;
