# HG changeset patch # User reimar # Date 1189788352 0 # Node ID 78d5334a4b8524d48a70599c142abb7508fac06f # Parent f71e3d4c2816948339c9a6e639c83c3ad05730b4 Remove unused tmf_totalchunks diff -r f71e3d4c2816 -r 78d5334a4b85 libmpdemux/demux_ty.c --- 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; }