changeset 9125:61ec44e2f406

Attached PATCH fixes the case, when data-flag and reference flags are set and mplayer exits the demuxer with error (return 0), but without giving a reason As QT-Specs say in this case the reference shuld be used, I fixed it that way. Fabian Franz <FabianFranz@gmx.de>
author arpi
date Mon, 27 Jan 2003 22:29:47 +0000
parents ff773800b598
children 7a06258271d6
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Mon Jan 27 22:27:54 2003 +0000
+++ b/libmpdemux/demux_mov.c	Mon Jan 27 22:29:47 2003 +0000
@@ -447,7 +447,7 @@
     }
     free(priv);
 
-    if (flags==5) // reference & header sent
+    if ((flags==5) || (flags==7)) // reference & header sent
         return 1;
 
     if(flags==1)