[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
Kim Minh Kaplan
kmkaplan at selfoffice.com
Sun Sep 22 14:08:45 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/libmpcodecs ad_realaud.c,1.15,1.16 dec_video.h,1.10,1.11 vd_ijpg.c,1.9,1.10 vd_mpng.c,1.3,1.4 vd_mtga.c,1.3,1.4 vd_realvid.c,1.14,1.15 vf_cropdetect.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Alex Beregszaszi writes:
>> - 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);
>
> hey, x<npl,plugin(x+1) is right too
No, the comma operator executes its left operand and *discards* the
resulting value, then it executes its right operand and returns this
value as a result. So when you use it, the left operand should make a
side effect; otherwise it is nonsense. This is quite different from a
logical and.
Kim Minh.
- 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/libmpcodecs ad_realaud.c,1.15,1.16 dec_video.h,1.10,1.11 vd_ijpg.c,1.9,1.10 vd_mpng.c,1.3,1.4 vd_mtga.c,1.3,1.4 vd_realvid.c,1.14,1.15 vf_cropdetect.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list