changeset 24488:d6c49e8a8046

Move some more variable declarations
author reimar
date Fri, 14 Sep 2007 21:03:08 +0000
parents f364db0d1067
children 97eba82233f5
files libmpdemux/demux_ty.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Fri Sep 14 20:59:05 2007 +0000
+++ b/libmpdemux/demux_ty.c	Fri Sep 14 21:03:08 2007 +0000
@@ -127,15 +127,9 @@
 // ===========================================================================
 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 @@
    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 );