summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-21 16:44:15 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-21 16:44:15 +0000
commit56a7240127b26bd3ecaec3528b55dbabc76ba6cc (patch)
tree9d7c02594a6f180b31250d37ef08145987c131c8 /libmpdemux
parent802fa9ffcc10739ba513bbd5984722386b5240b3 (diff)
downloadmpv-56a7240127b26bd3ecaec3528b55dbabc76ba6cc.tar.bz2
mpv-56a7240127b26bd3ecaec3528b55dbabc76ba6cc.tar.xz
argh 0.5l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5244 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mov.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index eff3dc4cb9..a2ff3131d6 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -237,7 +237,7 @@ int mov_check_file(demuxer_t* demuxer){
else if (len == 0) /* deleted chunk */
{
/* XXX: CJB! is this right? - alex */
- break; // skip chunk
+ goto skip_chunk;
}
#endif
else if(len<8) break; // invalid chunk
@@ -281,6 +281,7 @@ int mov_check_file(demuxer_t* demuxer){
id = be2me_32(id);
mp_msg(MSGT_DEMUX,MSGL_V,"MOV: unknown chunk: %.4s %d\n",&id,(int)len);
}
+skip_chunk:
if(!stream_skip(demuxer->stream,len-skipped)) break;
++no;
}