[MPlayer-users] vcd causes mplayer endless loop

Steven M. Schultz sms at 2BSD.COM
Tue Mar 19 18:42:02 CET 2002


Hi!

	This change fixes the endless loop in mov_check_file() when playing a
	VCD/SVCD:

--- libmpdemux/demux_mov.c.dist	Tue Mar 19 08:28:38 2002
+++ libmpdemux/demux_mov.c	Tue Mar 19 09:13:59 2002
@@ -223,11 +223,13 @@
 #endif
 	    skipped += 8;
 	}
+#ifdef	notnow
 	else if (len == 0) /* deleted chunk */
 	{
 	    /* XXX: CJB! is this right? - alex */
 	    goto skip_chunk;
 	}
+#endif
 	else if(len<8) break; // invalid chunk
 
 	switch(id){

	I do have a question though.  If "-vcd" is given on the commandline
	should that override the checks for other formats?  Is there a reason
	to look for 'mov', 'asf', and so on if "-vcd" (or "-dvd") is used?

	Steven Schultz
	sms at 2bsd.com




More information about the MPlayer-users mailing list