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

libavcodec/h264.c:1162:5: Assignment
1160. {
1161.     AVCodecContext *const avctx = h->avctx;
1162.     unsigned context_count = 0;
          ^
1163.     int nals_needed = 0; ///< number of NALs that need decoding before the next frame thread starts
1164.     int i, ret = 0;

libavcodec/h264.c:1310:19: Call
1308. 
1309.         if (context_count == h->max_contexts) {
1310.             ret = ff_h264_execute_decode_slices(h, context_count);
                        ^
1311.             if (ret < 0 && (h->avctx->err_recognition & AV_EF_EXPLODE))
1312.                 goto end;

libavcodec/h264_slice.c:2226:1: <LHS trace>
2224.  * @param context_count number of contexts to execute
2225.  */
2226. int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
      ^
2227. {
2228.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2226:1: Parameter `context_count`
  2224.  * @param context_count number of contexts to execute
  2225.  */
  2226. int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
        ^
  2227. {
  2228.     AVCodecContext *const avctx = h->avctx;

libavcodec/h264_slice.c:2267:9: Binary operation: ([0, max(1, h->slice_context_count)] - 1):unsigned32 by call to `ff_h264_execute_decode_slices` 
  2265. 
  2266.         /* pull back stuff from slices to master context */
  2267.         sl                   = &h->slice_ctx[context_count - 1];
                ^
  2268.         h->mb_y              = sl->mb_y;
  2269.         for (i = 1; i < context_count; i++)
