libavcodec/h264.c:1637: error: Integer Overflow L2
  ([0, max(1, `h->slice_context_count`)] - 1):unsigned32 by call to `ff_h264_execute_decode_slices`.

libavcodec/h264.c:1419:9: Assignment
1417.     {
1418.         buf_index     = 0;
1419.         context_count = 0;
              ^
1420.         next_avc      = h->is_avc ? 0 : buf_size;
1421.         nal_index     = 0;

libavcodec/h264.c:1637:23: Call
1635. 
1636.             if (context_count == h->max_contexts) {
1637.                 ret = ff_h264_execute_decode_slices(h, context_count);
                            ^
1638.                 if (ret < 0 && (h->avctx->err_recognition & AV_EF_EXPLODE))
1639.                     goto end;

libavcodec/h264_slice.c:2341:1: <LHS trace>
2339.  * @param context_count number of contexts to execute
2340.  */
2341. int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
      ^
2342. {
2343.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2341:1: Parameter `context_count`
  2339.  * @param context_count number of contexts to execute
  2340.  */
  2341. int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
        ^
  2342. {
  2343.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2367:32: Binary operation: ([0, max(1, h->slice_context_count)] - 1):unsigned32 by call to `ff_h264_execute_decode_slices` 
  2365. 
  2366.         /* pull back stuff from slices to master context */
  2367.         hx                   = h->thread_context[context_count - 1];
                                       ^
  2368.         h->mb_x              = hx->mb_x;
  2369.         h->mb_y              = hx->mb_y;
