Move some more variable declarations

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24508 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-14 21:03:08 +00:00
parent abac8f8fab
commit 92f501d8b2
1 changed files with 6 additions and 6 deletions

View File

@ -127,15 +127,9 @@ static int ty_extensionis(const char *name, const char *ext )
// ===========================================================================
static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
{
char header[ 512 ];
char *name;
char *sizestr;
int size;
off_t offset;
off_t totalsize;
off_t skip;
int parts = 0;
int isty;
offset = 0;
totalsize = demux->stream->end_pos;
@ -143,6 +137,12 @@ static int ty_tmf_filetoparts( demuxer_t *demux, TiVoInfo *tivo )
mp_msg( MSGT_DEMUX, MSGL_DBG3, "Dumping tar contents\n" );
while (1)
{
char header[ 512 ];
char *name;
char *sizestr;
int size;
off_t skip;
int isty;
if (!stream_seek(demux->stream, offset))
{
mp_msg( MSGT_DEMUX, MSGL_DBG3, "Seek bad %"PRId64"\n", (int64_t)offset );