Mercurial > mplayer.hg
comparison libmpdemux/demux_mov.c @ 5243:34c706ab6f6f
argh 0.5l
author | atmos4 |
---|---|
date | Thu, 21 Mar 2002 16:44:15 +0000 |
parents | d4ffcbe9ed3d |
children | e26352c3fa9b |
comparison
equal
deleted
inserted
replaced
5242:d4ffcbe9ed3d | 5243:34c706ab6f6f |
---|---|
235 } | 235 } |
236 #if 0 | 236 #if 0 |
237 else if (len == 0) /* deleted chunk */ | 237 else if (len == 0) /* deleted chunk */ |
238 { | 238 { |
239 /* XXX: CJB! is this right? - alex */ | 239 /* XXX: CJB! is this right? - alex */ |
240 break; // skip chunk | 240 goto skip_chunk; |
241 } | 241 } |
242 #endif | 242 #endif |
243 else if(len<8) break; // invalid chunk | 243 else if(len<8) break; // invalid chunk |
244 | 244 |
245 switch(id){ | 245 switch(id){ |
279 default: | 279 default: |
280 if(no==0) return 0; // first chunk is bad! | 280 if(no==0) return 0; // first chunk is bad! |
281 id = be2me_32(id); | 281 id = be2me_32(id); |
282 mp_msg(MSGT_DEMUX,MSGL_V,"MOV: unknown chunk: %.4s %d\n",&id,(int)len); | 282 mp_msg(MSGT_DEMUX,MSGL_V,"MOV: unknown chunk: %.4s %d\n",&id,(int)len); |
283 } | 283 } |
284 skip_chunk: | |
284 if(!stream_skip(demuxer->stream,len-skipped)) break; | 285 if(!stream_skip(demuxer->stream,len-skipped)) break; |
285 ++no; | 286 ++no; |
286 } | 287 } |
287 | 288 |
288 if(flags==1) | 289 if(flags==1) |