[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.59,1.60

Arpi of Ize arpi at mplayerhq.hu
Thu Apr 18 18:06:27 CEST 2002


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

Modified Files:
	demux_mov.c 
Log Message:
'wide' may contain 'mdat'

Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- demux_mov.c	15 Apr 2002 02:48:11 -0000	1.59
+++ demux_mov.c	18 Apr 2002 16:06:24 -0000	1.60
@@ -303,6 +303,9 @@
 	    priv->moov_start, priv->moov_end);
 	  flags|=1;
 	  break;
+	case MOV_FOURCC('w','i','d','e'):
+	  mp_msg(MSGT_DEMUX,MSGL_V,"MOV: 'WIDE' chunk found!\n");
+	  if(flags&2) break;
 	case MOV_FOURCC('m','d','a','t'):
 	  mp_msg(MSGT_DEMUX,MSGL_V,"MOV: Movie DATA found!\n");
 	  priv->mdat_start=stream_tell(demuxer->stream);
@@ -313,7 +316,6 @@
 	  break;
 	case MOV_FOURCC('f','r','e','e'):
 	case MOV_FOURCC('s','k','i','p'):
-	case MOV_FOURCC('w','i','d','e'):
 	case MOV_FOURCC('j','u','n','k'):
 	  mp_msg(MSGT_DEMUX,MSGL_DBG2,"MOV: free space (len: %d)\n", len);
 	  /* unused, if you edit a mov, you can use space provided by free atoms (redefining it) */




More information about the MPlayer-cvslog mailing list