[Mplayer-cvslog] CVS: main/libao2 ao_mpegpes.c,1.11,1.12 ao_null.c,1.8,1.9 ao_oss.c,1.30,1.31 ao_plugin.c,1.20,1.21 pl_delay.c,1.5,1.6 pl_resample.c,1.7,1.8
Alex Beregszaszi
alex at naxine.org
Sun Sep 22 11:51:11 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libao2 ao_mpegpes.c,1.11,1.12 ao_null.c,1.8,1.9 ao_oss.c,1.30,1.31 ao_plugin.c,1.20,1.21 pl_delay.c,1.5,1.6 pl_resample.c,1.7,1.8
- Next message: [Mplayer-cvslog] CVS: main/libao2 ao_mpegpes.c,1.11,1.12 ao_null.c,1.8,1.9 ao_oss.c,1.30,1.31 ao_plugin.c,1.20,1.21 pl_delay.c,1.5,1.6 pl_resample.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi,
> Index: ao_plugin.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libao2/ao_plugin.c,v
> retrieving revision 1.20
> retrieving revision 1.21
> diff -u -r1.20 -r1.21
> --- ao_plugin.c 10 Jun 2002 12:10:52 -0000 1.20
> +++ ao_plugin.c 22 Sep 2002 02:33:24 -0000 1.21
> @@ -148,15 +148,15 @@
> ao_plugin_data.delay_mult=1;
> ao_plugin_data.delay_fix=0;
>
> - for(i=0;i<NPL,plugin(i);i++){
> + for(i=0;i<NPL && plugin(i);i++){
> use_plugin[i]=plugin(i)->init();
> if(!use_plugin[i]) plugin(i)->uninit();
> }
> npl=i;
> - for(i=0;i<npl,plugin(i);i++)
> + for(i=0;i<npl && plugin(i);i++)
> if(!use_plugin[i+unused]){
> unused++;
> - for(x=i;x<npl,plugin(x+1);x++) plugin(x)=plugin(x+1);
> + for(x=i;x<npl && plugin(x+1);x++) plugin(x)=plugin(x+1);
> plugin(x)=NULL;
> npl--;
> i--;
hey, x<npl,plugin(x+1) is right too
--
Alex Beregszaszi <alex at naxine.org>
- Previous message: [Mplayer-cvslog] CVS: main/libao2 ao_mpegpes.c,1.11,1.12 ao_null.c,1.8,1.9 ao_oss.c,1.30,1.31 ao_plugin.c,1.20,1.21 pl_delay.c,1.5,1.6 pl_resample.c,1.7,1.8
- Next message: [Mplayer-cvslog] CVS: main/libao2 ao_mpegpes.c,1.11,1.12 ao_null.c,1.8,1.9 ao_oss.c,1.30,1.31 ao_plugin.c,1.20,1.21 pl_delay.c,1.5,1.6 pl_resample.c,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list