[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.89,1.90

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 12 21:11:23 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv12762

Modified Files:
	demux_mov.c 
Log Message:
(hopefully) fixed .mov streaming


Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- demux_mov.c	6 Jan 2003 21:58:39 -0000	1.89
+++ demux_mov.c	12 Jan 2003 20:11:20 -0000	1.90
@@ -402,6 +402,11 @@
 	  mp_msg(MSGT_DEMUX,MSGL_DBG2,"MOV: Movie data: start: %x end: %x\n",
 	    priv->mdat_start, priv->mdat_end);
 	  flags|=2;
+	  if(flags==3){
+	    // if we're over the headers, then we can stop parsing here!
+	    demuxer->priv=priv;
+	    return 1;
+	  }
 	  break;
 	case MOV_FOURCC('f','r','e','e'):
 	case MOV_FOURCC('s','k','i','p'):



More information about the MPlayer-cvslog mailing list