libavformat/mpegtsenc.c:599: error: Buffer Overrun L2
  Offset added: [160-min(155, `payload_size`), 215] (⇐ [160-min(155, `payload_size`), 187] + [0, 28]) Size: 188.

libavformat/mpegtsenc.c:480:1: <Offset trace>
478. 
479. /* NOTE: pes_data contains all the PES packet */
480. static void mpegts_write_pes(AVFormatContext *s, AVStream *st,
     ^
481.                              const uint8_t *payload, int payload_size,
482.                              int64_t pts, int64_t dts)

libavformat/mpegtsenc.c:480:1: Array declaration
478. 
479. /* NOTE: pes_data contains all the PES packet */
480. static void mpegts_write_pes(AVFormatContext *s, AVStream *st,
     ^
481.                              const uint8_t *payload, int payload_size,
482.                              int64_t pts, int64_t dts)

libavformat/mpegtsenc.c:581:9: Assignment
579.         }
580.         /* header size */
581.         header_len = q - buf;
             ^
582.         /* data len */
583.         len = TS_PACKET_SIZE - header_len;

libavformat/mpegtsenc.c:480:1: <Length trace>
478. 
479. /* NOTE: pes_data contains all the PES packet */
480. static void mpegts_write_pes(AVFormatContext *s, AVStream *st,
     ^
481.                              const uint8_t *payload, int payload_size,
482.                              int64_t pts, int64_t dts)

libavformat/mpegtsenc.c:480:1: Array declaration
478. 
479. /* NOTE: pes_data contains all the PES packet */
480. static void mpegts_write_pes(AVFormatContext *s, AVStream *st,
     ^
481.                              const uint8_t *payload, int payload_size,
482.                              int64_t pts, int64_t dts)

libavformat/mpegtsenc.c:599:17: Array access: Offset added: [160-min(155, payload_size), 215] (⇐ [160-min(155, payload_size), 187] + [0, 28]) Size: 188
597.             } else {
598.                 /* add stuffing */
599.                 memmove(buf + 4 + stuffing_len, buf + 4, header_len - 4);
                     ^
600.                 buf[3] |= 0x20;
601.                 buf[4] = stuffing_len - 1;
