From 92f501d8b2e944a97ac80656f2acfc6aec8db3e6 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 14 Sep 2007 21:03:08 +0000 Subject: Move some more variable declarations git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24508 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ty.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libmpdemux/demux_ty.c b/libmpdemux/demux_ty.c index d726c72863..183c8b5946 100644 --- a/libmpdemux/demux_ty.c +++ b/libmpdemux/demux_ty.c @@ -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 ); -- cgit v1.2.3