diff libmpdemux/demux_mov.c @ 23089:7b313a20939f

Declarations and code should not be mixed.
author diego
date Wed, 25 Apr 2007 00:03:27 +0000
parents 74efb0fa8a0b
children 300e9b7c499f
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Wed Apr 25 00:02:23 2007 +0000
+++ b/libmpdemux/demux_mov.c	Wed Apr 25 00:03:27 2007 +0000
@@ -978,13 +978,12 @@
 		break;
 	    }
 	    case MOV_TRAK_VIDEO: {
-		int i, entry;
+		int depth, i, entry;
 		int flag, start, count_flag, end, palette_count, gray;
 		int hdr_ptr = 76;  // the byte just after depth
 		unsigned char *palette_map;
 		sh_video_t* sh=new_sh_video(demuxer,priv->track_db);
 		mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "mov", priv->track_db);
-		int depth;
 		sh->format=trak->fourcc;
 
 		// crude video delay from editlist0 hack ::atm