[MPlayer-cvslog] r24525 - trunk/libmpdemux/demux_ty.c
reimar
subversion at mplayerhq.hu
Sat Sep 15 13:56:24 CEST 2007
Author: reimar
Date: Sat Sep 15 13:56:24 2007
New Revision: 24525
Log:
Avoid using demux->stream->end_pos, it rarely does any good.
Modified:
trunk/libmpdemux/demux_ty.c
Modified: trunk/libmpdemux/demux_ty.c
==============================================================================
--- trunk/libmpdemux/demux_ty.c (original)
+++ trunk/libmpdemux/demux_ty.c Sat Sep 15 13:56:24 2007
@@ -380,7 +380,6 @@ static int demux_ty_fill_buffer( demuxer
{
off_t filePos;
tivo->readHeader = 1;
- tivo->size = demux->stream->end_pos;
filePos = demux->filepos;
stream_seek( demux->stream, 0 );
@@ -437,8 +436,6 @@ static int demux_ty_fill_buffer( demuxer
"ty:Header Calc Stream Size %"PRId64"\n", tivo->size );
}
}
- if ( tivo->size > demux->stream->end_pos )
- tivo->size = demux->stream->end_pos;
if ( demux->stream->start_pos > 0 )
filePos = demux->stream->start_pos;
More information about the MPlayer-cvslog
mailing list