[MPlayer-cvslog] r25124 - trunk/stream/tvi_dshow.c

JonY 10walls at gmail.com
Wed Nov 21 14:33:44 CET 2007


voroshil wrote:
> 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;
>  	    }
>  
> _______________________________________________
> MPlayer-cvslog mailing list
> MPlayer-cvslog at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> 

Hi,

should arCtreamCaps be arStreamCaps? typo? :)



More information about the MPlayer-cvslog mailing list