From 32c6bdf8c71063af3452965f0b2d7c580fc64c56 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 15 Sep 2007 10:58:06 +0000 Subject: 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 --- libmpdemux/demux_ty.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libmpdemux/demux_ty.c') diff --git a/libmpdemux/demux_ty.c b/libmpdemux/demux_ty.c index f8f6edf50b..f730af176c 100644 --- a/libmpdemux/demux_ty.c +++ b/libmpdemux/demux_ty.c @@ -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 -- cgit v1.2.3