Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ac1fd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c
Expand Up @@ -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);
Expand Down

0 comments on commit ac1fd96

Please sign in to comment.