mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 02:05:31 +00:00
Do not ignore last chunk in .tmf files, it will cause part of the file to be
missing during playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24467 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4fb393a73b
commit
97f633a083
@ -200,9 +200,7 @@ static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user