diff --git a/mythtv/external/FFmpeg/libavformat/mpegts.c b/mythtv/external/FFmpeg/libavformat/mpegts.c
index 1d8fbb5..ca0bf8e 100644
|
a
|
b
|
static void mpegts_push_section(MpegTSFilter *filter, const uint8_t *section, in
|
| 638 | 638 | if (sect->new_packet && pkt && sect->st) { |
| 639 | 639 | int pktLen = section_len + 184; /* Add enough for a complete TS payload. */ |
| 640 | 640 | sect->new_packet = 0; |
| | 641 | av_free_packet(pkt); |
| 641 | 642 | if (av_new_packet(pkt, pktLen) == 0) { |
| 642 | 643 | memcpy(pkt->data, section, section_len); |
| 643 | 644 | memset(pkt->data+section_len, 0xff, pktLen-section_len); |