changeset 24453:78d5334a4b85

Remove unused tmf_totalchunks
author reimar
date Fri, 14 Sep 2007 16:45:52 +0000
parents f71e3d4c2816
children 47ec03fe8911
files libmpdemux/demux_ty.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Fri Sep 14 16:44:52 2007 +0000
+++ b/libmpdemux/demux_ty.c	Fri Sep 14 16:45:52 2007 +0000
@@ -112,8 +112,6 @@
    tmf_fileParts   tmfparts[ MAX_TMF_PARTS ];
    int             tmf_totalparts;
    off_t           tmf_totalsize;
-   off_t           tmf_totalchunks;
-
 } TiVoInfo;
 
 off_t vstream_streamsize( );
@@ -244,16 +242,10 @@
       "tmf_filetoparts(): No More Part Files %d\n", parts );
 
    tivo->tmf_totalsize = 0;
-   tivo->tmf_totalchunks = 0;
    for( index = 0 ; index < tivo->tmf_totalparts ; index++ )
-   {
       tivo->tmf_totalsize += tivo->tmfparts[ index ].fileSize;
-      tivo->tmf_totalchunks += tivo->tmfparts[ index ].chunks;
-   }
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
       "tmf_filetoparts():total size %"PRId64"\n", (int64_t)tivo->tmf_totalsize );
-   mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "tmf_filetoparts():total chunks %"PRId64"\n", (int64_t)tivo->tmf_totalchunks );
 
    return 1;
 }