summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_mov.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-25 00:03:27 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-25 00:03:27 +0000
commit56c96cec50f96a59f01df63f57996519c281cfeb (patch)
tree4a27f4a0389fb577bb69ecfe3ac7186dde31c217 /libmpdemux/demux_mov.c
parent62cf4b0c602468adee37fcc0bd204ace694c6ca6 (diff)
downloadmpv-56c96cec50f96a59f01df63f57996519c281cfeb.tar.bz2
mpv-56c96cec50f96a59f01df63f57996519c281cfeb.tar.xz
Declarations and code should not be mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23107 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_mov.c')
-rw-r--r--libmpdemux/demux_mov.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index 641b163bf9..f342752597 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -978,13 +978,12 @@ quit_vorbis_block:
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