Permalink
Browse files

Fixes #10794. Keep more sections in mpegts-mythtv.c

Signed-off-by: Daniel Kristjansson <danielk@cuymedia.net>
  • Loading branch information...
Lawrence Rust authored and daniel-kristjansson committed Jul 25, 2012
1 parent fe6e4df commit ac1fd96ac762f5081fb399d8838dc34c30d7630d
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c
@@ -669,7 +669,7 @@ static void mpegts_push_section(MpegTSFilter *filter, const uint8_t *section, in
return;
}
- if (sect->new_packet && pkt && sect->st) {
+ if (sect->new_packet && pkt && sect->st && pkt->size == 0) {
int pktLen = section_len + 184; /* Add enough for a complete TS payload. */
sect->new_packet = 0;
av_free_packet(pkt);

0 comments on commit ac1fd96

Please sign in to comment.