libavformat/mpegtsenc.c:405: error: Integer Overflow L1
  ([0, +oo] + 9223372036854775808):signed32.

libavformat/mpegtsenc.c:390:5: <LHS trace>
388. 
389.     /* assign pids to each stream */
390.     total_bit_rate = 0;
         ^
391.     for(i = 0;i < s->nb_streams; i++) {
392.         st = s->streams[i];

libavformat/mpegtsenc.c:390:5: Assignment
388. 
389.     /* assign pids to each stream */
390.     total_bit_rate = 0;
         ^
391.     for(i = 0;i < s->nb_streams; i++) {
392.         st = s->streams[i];

libavformat/mpegtsenc.c:400:9: <RHS trace>
398.         ts_st->pid = DEFAULT_START_PID + i;
399.         ts_st->payload_pts = AV_NOPTS_VALUE;
400.         ts_st->payload_dts = AV_NOPTS_VALUE;
             ^
401.         /* update PCR pid by using the first video stream */
402.         if (st->codec->codec_type == CODEC_TYPE_VIDEO &&

libavformat/mpegtsenc.c:400:9: Assignment
398.         ts_st->pid = DEFAULT_START_PID + i;
399.         ts_st->payload_pts = AV_NOPTS_VALUE;
400.         ts_st->payload_dts = AV_NOPTS_VALUE;
             ^
401.         /* update PCR pid by using the first video stream */
402.         if (st->codec->codec_type == CODEC_TYPE_VIDEO &&

libavformat/mpegtsenc.c:405:9: Binary operation: ([0, +oo] + 9223372036854775808):signed32
403.             service->pcr_pid == 0x1fff)
404.             service->pcr_pid = ts_st->pid;
405.         total_bit_rate += st->codec->bit_rate;
             ^
406.     }
407. 
