1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5252 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-21 20:19:00 +00:00
parent 377271cdc0
commit 17ee704b7e

View File

@ -740,6 +740,7 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
if(trak->stdata_len >= 86) { // extra atoms found
int pos=78;
int atom_len;
while(pos+8<=trak->stdata_len &&
(pos+(atom_len=char2int(trak->stdata,pos)))<=trak->stdata_len){
switch(char2int(trak->stdata,pos+4)) { // switch atom type