changeset 20480:d8dc67f94d5e

removed useless check: when is_start is set the size of the payload can be at most 184 bytes
author nicodvb
date Sat, 28 Oct 2006 17:51:32 +0000
parents 4652156da0d5
children b6d0fe33648e
files libmpdemux/demux_ts.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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