[Mplayer-cvslog] CVS: main/libmpdemux aviheader.c,1.57,1.58

Tobias Diedrich CVS syncmail at mplayerhq.hu
Tue Jun 29 15:10:40 CEST 2004


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv12536

Modified Files:
	aviheader.c 
Log Message:
If we don't have a NEWAVIINDEX chunk, but have an OpenDML index,
use it even if there is no AVIX RIFF-Chunk.
(See also <40D2E910.2000708 at comcast.net> "Non-seeking OpenDML AVI")


Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- aviheader.c	30 Apr 2004 20:36:48 -0000	1.57
+++ aviheader.c	29 Jun 2004 13:10:37 -0000	1.58
@@ -443,6 +443,13 @@
   
 }
 
+if (priv->suidx_size > 0 && priv->idx_size == 0) {
+    /*
+     * No NEWAVIINDEX, but we got an OpenDML index.
+     */
+    priv->isodml = 1;
+}
+
 if (priv->isodml && (index_mode==-1 || index_mode==0)) {
     int i, j, k;
     int safety=1000;




More information about the MPlayer-cvslog mailing list