changeset 8928:c82c8144cef9

(hopefully) fixed .mov streaming
author arpi
date Sun, 12 Jan 2003 20:11:20 +0000
parents cc9ea49f7509
children c5ca1ae42555
files libmpdemux/demux_mov.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Sun Jan 12 20:03:48 2003 +0000
+++ b/libmpdemux/demux_mov.c	Sun Jan 12 20:11:20 2003 +0000
@@ -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'):