changeset 24458:6e8ee976e6d1

tmf_totalsize is not used either, remove it
author reimar
date Fri, 14 Sep 2007 17:04:36 +0000
parents fd8830d276ca
children d3232370513b
files libmpdemux/demux_ty.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Fri Sep 14 17:03:26 2007 +0000
+++ b/libmpdemux/demux_ty.c	Fri Sep 14 17:04:36 2007 +0000
@@ -111,7 +111,6 @@
    int             tmf;
    tmf_fileParts   tmfparts[ MAX_TMF_PARTS ];
    int             tmf_totalparts;
-   off_t           tmf_totalsize;
 } TiVoInfo;
 
 off_t vstream_streamsize( );
@@ -218,12 +217,6 @@
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
       "tmf_filetoparts(): No More Part Files %d\n", parts );
 
-   tivo->tmf_totalsize = 0;
-   for( index = 0 ; index < tivo->tmf_totalparts ; index++ )
-      tivo->tmf_totalsize += tivo->tmfparts[ index ].fileSize;
-   mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "tmf_filetoparts():total size %"PRId64"\n", (int64_t)tivo->tmf_totalsize );
-
    return 1;
 }