[MPlayer-cvslog] r24467 - trunk/libmpdemux/demux_ty.c
reimar
subversion at mplayerhq.hu
Fri Sep 14 18:04:12 CEST 2007
Author: reimar
Date: Fri Sep 14 18:04:12 2007
New Revision: 24467
Log:
Do not ignore last chunk in .tmf files, it will cause part of the file to be
missing during playback.
Modified:
trunk/libmpdemux/demux_ty.c
Modified: trunk/libmpdemux/demux_ty.c
==============================================================================
--- trunk/libmpdemux/demux_ty.c (original)
+++ trunk/libmpdemux/demux_ty.c Fri Sep 14 18:04:12 2007
@@ -200,9 +200,7 @@ static int ty_tmf_filetoparts( demuxer_t
if ( isty )
{
tivo->tmfparts[ parts ].fileNo = parts;
- // HACK - Ignore last chunk of a Part File
- // Why? I have no idea.
- tivo->tmfparts[ parts ].fileSize = size - CHUNKSIZE;
+ tivo->tmfparts[ parts ].fileSize = size;
tivo->tmfparts[ parts ].startOffset = offset + 512;
tivo->tmfparts[ parts ].chunks =
tivo->tmfparts[ parts ].fileSize / CHUNKSIZE;
More information about the MPlayer-cvslog
mailing list