# HG changeset patch # User reimar # Date 1189785852 0 # Node ID c6253f3b5f478e0a6e290f820742c41f8d58d609 # Parent c9870762ddb5ac1576d477b25c9c4b1c6cf8a352 Do not ignore last chunk in .tmf files, it will cause part of the file to be missing during playback. diff -r c9870762ddb5 -r c6253f3b5f47 libmpdemux/demux_ty.c --- a/libmpdemux/demux_ty.c Fri Sep 14 15:52:46 2007 +0000 +++ b/libmpdemux/demux_ty.c Fri Sep 14 16:04:12 2007 +0000 @@ -200,9 +200,7 @@ 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;