Mercurial > mplayer.hg
comparison libmpdemux/demux_ty.c @ 24453:78d5334a4b85
Remove unused tmf_totalchunks
author | reimar |
---|---|
date | Fri, 14 Sep 2007 16:45:52 +0000 |
parents | f71e3d4c2816 |
children | 3ae0e3067f99 |
comparison
equal
deleted
inserted
replaced
24452:f71e3d4c2816 | 24453:78d5334a4b85 |
---|---|
110 | 110 |
111 int tmf; | 111 int tmf; |
112 tmf_fileParts tmfparts[ MAX_TMF_PARTS ]; | 112 tmf_fileParts tmfparts[ MAX_TMF_PARTS ]; |
113 int tmf_totalparts; | 113 int tmf_totalparts; |
114 off_t tmf_totalsize; | 114 off_t tmf_totalsize; |
115 off_t tmf_totalchunks; | |
116 | |
117 } TiVoInfo; | 115 } TiVoInfo; |
118 | 116 |
119 off_t vstream_streamsize( ); | 117 off_t vstream_streamsize( ); |
120 void ty_ClearOSD( int start ); | 118 void ty_ClearOSD( int start ); |
121 | 119 |
242 tivo->tmf_totalparts = parts; | 240 tivo->tmf_totalparts = parts; |
243 mp_msg( MSGT_DEMUX, MSGL_DBG3, | 241 mp_msg( MSGT_DEMUX, MSGL_DBG3, |
244 "tmf_filetoparts(): No More Part Files %d\n", parts ); | 242 "tmf_filetoparts(): No More Part Files %d\n", parts ); |
245 | 243 |
246 tivo->tmf_totalsize = 0; | 244 tivo->tmf_totalsize = 0; |
247 tivo->tmf_totalchunks = 0; | |
248 for( index = 0 ; index < tivo->tmf_totalparts ; index++ ) | 245 for( index = 0 ; index < tivo->tmf_totalparts ; index++ ) |
249 { | |
250 tivo->tmf_totalsize += tivo->tmfparts[ index ].fileSize; | 246 tivo->tmf_totalsize += tivo->tmfparts[ index ].fileSize; |
251 tivo->tmf_totalchunks += tivo->tmfparts[ index ].chunks; | |
252 } | |
253 mp_msg( MSGT_DEMUX, MSGL_DBG3, | 247 mp_msg( MSGT_DEMUX, MSGL_DBG3, |
254 "tmf_filetoparts():total size %"PRId64"\n", (int64_t)tivo->tmf_totalsize ); | 248 "tmf_filetoparts():total size %"PRId64"\n", (int64_t)tivo->tmf_totalsize ); |
255 mp_msg( MSGT_DEMUX, MSGL_DBG3, | |
256 "tmf_filetoparts():total chunks %"PRId64"\n", (int64_t)tivo->tmf_totalchunks ); | |
257 | 249 |
258 return 1; | 250 return 1; |
259 } | 251 } |
260 | 252 |
261 | 253 |