changeset 5680:7bd2883ee0ec

'wide' may contain 'mdat'
author arpi
date Thu, 18 Apr 2002 16:06:24 +0000
parents 30f196ff3bec
children 4efb8ab109b8
files libmpdemux/demux_mov.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Thu Apr 18 15:41:33 2002 +0000
+++ b/libmpdemux/demux_mov.c	Thu Apr 18 16:06:24 2002 +0000
@@ -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) */