diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 21:03:08 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 21:03:08 +0000 |
commit | 92f501d8b2e944a97ac80656f2acfc6aec8db3e6 (patch) | |
tree | 8aecc51dfbacb0a9d9149d92c3886e9d19b2c04a | |
parent | abac8f8fab97a402c744afb7fd4294cb320dccd6 (diff) |
Move some more variable declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24508 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_ty.c | 12 |
1 files 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 ); |