diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-15 10:58:06 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-15 10:58:06 +0000 |
commit | 32c6bdf8c71063af3452965f0b2d7c580fc64c56 (patch) | |
tree | 5deac40c5e3b91c787c2691fd4ad628f7d96f71a /libmpdemux | |
parent | 41f50de3d039c5282fcd57dbf3b5ca10e357a639 (diff) | |
download | mpv-32c6bdf8c71063af3452965f0b2d7c580fc64c56.tar.bz2 mpv-32c6bdf8c71063af3452965f0b2d7c580fc64c56.tar.xz |
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
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_ty.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 |