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

Vladimir Voroshilov voroshil at gmail.com
Wed Nov 21 14:55:39 CET 2007


2007/11/21, JonY <10walls at gmail.com>:
> 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? :)

Sure. The night coding was too long.

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-cvslog mailing list