[MPlayer-cvslog] r25124 - trunk/stream/tvi_dshow.c
voroshil
subversion at mplayerhq.hu
Wed Nov 21 04:49:23 CET 2007
Author: voroshil
Date: Wed Nov 21 04:49:23 2007
New Revision: 25124
Log:
Sizes of arpmt and arStreamCaps must be equal.
Modified:
trunk/stream/tvi_dshow.c
Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c (original)
+++ trunk/stream/tvi_dshow.c Wed Nov 21 04:49:23 2007
@@ -3158,6 +3158,9 @@ static int control(priv_t * priv, int cm
priv->chains[0]->arpmt[i+1] = NULL;
priv->chains[0]->arpmt[i] = pmt;
+ priv->chains[0]->arStreamCaps=realloc(priv->chains[0]->arCtreamCaps, (i+2)*sizeof(void*));
+ priv->chains[0]->arpmt[i+1] = NULL;
+
result = TVI_CONTROL_FALSE;
}
More information about the MPlayer-cvslog
mailing list