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

reimar subversion at mplayerhq.hu
Fri Sep 14 19:04:36 CEST 2007


Author: reimar
Date: Fri Sep 14 19:04:36 2007
New Revision: 24478

Log:
tmf_totalsize is not used either, remove it


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 19:04:36 2007
@@ -111,7 +111,6 @@ typedef struct sTivoInfo
    int             tmf;
    tmf_fileParts   tmfparts[ MAX_TMF_PARTS ];
    int             tmf_totalparts;
-   off_t           tmf_totalsize;
 } TiVoInfo;
 
 off_t vstream_streamsize( );
@@ -218,12 +217,6 @@ static int ty_tmf_filetoparts( demuxer_t
    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;
 }
 



More information about the MPlayer-cvslog mailing list