[Mplayer-cvslog] CVS: main/libmpdemux aviheader.c,1.54,1.55
Richard Felker CVS
syncmail at mplayerhq.hu
Wed Apr 28 01:08:49 CEST 2004
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1298/libmpdemux
Modified Files:
aviheader.c
Log Message:
don't use odml when we don't have to -- the code is buggy!
Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- aviheader.c 24 Mar 2004 15:16:36 -0000 1.54
+++ aviheader.c 27 Apr 2004 23:08:46 -0000 1.55
@@ -225,6 +225,9 @@
DWORD i;
unsigned msize = 0;
avisuperindex_chunk *s;
+ // FIXME: do not use odml index for files that don't need it.
+ // apparently the odml code is buggy!
+ if (demuxer->movi_end < 0x7fffffff) break;
priv->suidx_size++;
priv->suidx = realloc(priv->suidx, priv->suidx_size * sizeof (avisuperindex_chunk));
s = &priv->suidx[priv->suidx_size-1];
More information about the MPlayer-cvslog
mailing list