[MPlayer-cvslog] CVS: main/libmpdemux aviheader.c,1.76,1.77
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Thu Apr 6 23:49:14 CEST 2006
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv31101
Modified Files:
aviheader.c
Log Message:
make sure the indx chunk is big enough to hold the basic structure.
Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- aviheader.c 6 Apr 2006 20:56:35 -0000 1.76
+++ aviheader.c 6 Apr 2006 21:49:12 -0000 1.77
@@ -207,6 +207,9 @@
case mmioFOURCC('i', 'n', 'd', 'x'): {
uint32_t i;
avisuperindex_chunk *s;
+ if(chunksize<=24){
+ 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