Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
23088:6a40ec31cfa7 | 23089:7b313a20939f |
---|---|
976 // demuxer->audio->sh=sh; sh->ds=demuxer->audio; | 976 // demuxer->audio->sh=sh; sh->ds=demuxer->audio; |
977 // } | 977 // } |
978 break; | 978 break; |
979 } | 979 } |
980 case MOV_TRAK_VIDEO: { | 980 case MOV_TRAK_VIDEO: { |
981 int i, entry; | 981 int depth, i, entry; |
982 int flag, start, count_flag, end, palette_count, gray; | 982 int flag, start, count_flag, end, palette_count, gray; |
983 int hdr_ptr = 76; // the byte just after depth | 983 int hdr_ptr = 76; // the byte just after depth |
984 unsigned char *palette_map; | 984 unsigned char *palette_map; |
985 sh_video_t* sh=new_sh_video(demuxer,priv->track_db); | 985 sh_video_t* sh=new_sh_video(demuxer,priv->track_db); |
986 mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "mov", priv->track_db); | 986 mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "mov", priv->track_db); |
987 int depth; | |
988 sh->format=trak->fourcc; | 987 sh->format=trak->fourcc; |
989 | 988 |
990 // crude video delay from editlist0 hack ::atm | 989 // crude video delay from editlist0 hack ::atm |
991 if(trak->editlist_size>=1) { | 990 if(trak->editlist_size>=1) { |
992 if(trak->editlist[0].pos == -1) { | 991 if(trak->editlist[0].pos == -1) { |