[MPlayer-cvslog] r24473 - trunk/libmpdemux/demux_ty.c

reimar subversion at mplayerhq.hu
Fri Sep 14 18:45:53 CEST 2007


Author: reimar
Date: Fri Sep 14 18:45:52 2007
New Revision: 24473

Log:
Remove unused tmf_totalchunks


Modified:
   trunk/libmpdemux/demux_ty.c

Modified: trunk/libmpdemux/demux_ty.c
==============================================================================
--- trunk/libmpdemux/demux_ty.c	(original)
+++ trunk/libmpdemux/demux_ty.c	Fri Sep 14 18:45:52 2007
@@ -112,8 +112,6 @@ typedef struct sTivoInfo
    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 @@ static int ty_tmf_filetoparts( demuxer_t
       "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;
 }



More information about the MPlayer-cvslog mailing list