From cb54570f6658d8ece7b16c649ef30a915a001d04 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sat, 28 Oct 2006 17:51:32 +0000 Subject: [PATCH] removed useless check: when is_start is set the size of the payload can be at most 184 bytes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20496 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ts.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index 9b713e8cd4..247bb82894 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -2935,12 +2935,6 @@ static int ts_parse(demuxer_t *demuxer , ES_stream_t *es, unsigned char *packet, (*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