changeset 5243:34c706ab6f6f

argh 0.5l
author atmos4
date Thu, 21 Mar 2002 16:44:15 +0000
parents d4ffcbe9ed3d
children d8fd45a16beb
files libmpdemux/demux_mov.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Thu Mar 21 16:42:58 2002 +0000
+++ b/libmpdemux/demux_mov.c	Thu Mar 21 16:44:15 2002 +0000
@@ -237,7 +237,7 @@
 	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 @@
 	  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;
     }