# HG changeset patch # User nicodvb # Date 1162057892 0 # Node ID d8dc67f94d5e9d25c3780f4b836400a1c6e6d198 # Parent 4652156da0d53338dbbdccb28997f3502bee8d3a removed useless check: when is_start is set the size of the payload can be at most 184 bytes diff -r 4652156da0d5 -r d8dc67f94d5e libmpdemux/demux_ts.c --- a/libmpdemux/demux_ts.c Sat Oct 28 17:42:37 2006 +0000 +++ b/libmpdemux/demux_ts.c Sat Oct 28 17:51:32 2006 +0000 @@ -2935,12 +2935,6 @@ (*dp)->pos = stream_tell(demuxer->stream); (*dp)->pts = es->pts; - if(*dp_offset >= MAX_PACK_BYTES) - { - retv = fill_packet(demuxer, ds, dp, dp_offset, si); - return 1; - } - if(retv > 0) return retv; else