Remove another variable and reorder to avoid wasting space due to alignment

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24518 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-15 10:58:06 +00:00
parent 41f50de3d0
commit 32c6bdf8c7
1 changed files with 2 additions and 5 deletions

View File

@ -76,10 +76,9 @@ extern int sub_justify;
typedef struct stmf_fileParts
{
int fileNo;
off_t startOffset;
off_t fileSize;
int chunks;
off_t startOffset;
} tmf_fileParts;
#define MAX_TMF_PARTS 16
@ -172,16 +171,14 @@ static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
mp_msg( MSGT_DEMUX, MSGL_ERR, "ty:tmf too big\n" );
break;
}
tivo->tmfparts[ parts ].fileNo = parts;
tivo->tmfparts[ parts ].fileSize = size;
tivo->tmfparts[ parts ].startOffset = offset + 512;
tivo->tmfparts[ parts ].chunks = size / CHUNKSIZE;
mp_msg
(
MSGT_DEMUX, MSGL_DBG3,
"tmf_filetoparts(): index %d, file %d, chunks %d\n",
"tmf_filetoparts(): index %d, chunks %d\n",
parts,
tivo->tmfparts[ parts ].fileNo,
tivo->tmfparts[ parts ].chunks
);
mp_msg