[FFmpeg-cvslog] r17262 - trunk/libavcodec/mpegvideo_xvmc.c

Diego Biurrun diego
Sat Feb 14 20:25:01 CET 2009


On Sat, Feb 14, 2009 at 09:17:42PM +0200, Ivan Kalvachev wrote:
> On 2/14/09, diego <subversion at mplayerhq.hu> wrote:
> >
> > Log:
> > Drop two more sets of useless parentheses.
> >
> > --- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:02:46 2009	(r17261)
> > +++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:05:07 2009	(r17262)
> > @@ -267,7 +267,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s
> >      for (i = 0; i < blocks_per_mb; i++) {
> >          if (s->block_last_index[i] >= 0) {
> >              // I do not have unsigned_intra MOCO to test, hope it is OK.
> > -            if ((s->mb_intra) && (render->idct || (!render->idct &&
> > !render->unsigned_intra)))
> > +            if (s->mb_intra && (render->idct || !render->idct &&
> > !render->unsigned_intra))
> 
> mpegvideo_xvmc.c:270: warning: suggest parentheses around && within ||
> 
> reverting

Hmm, OK, I put one of the two sets of parentheses I removed back in place.

Diego




More information about the ffmpeg-cvslog mailing list