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

Ivan Kalvachev ikalvachev
Sat Feb 14 20:17:42 CET 2009


On 2/14/09, diego <subversion at mplayerhq.hu> wrote:
> Author: diego
> Date: Sat Feb 14 20:05:07 2009
> New Revision: 17262
>
> Log:
> Drop two more sets of useless parentheses.
>
> Modified:
>    trunk/libavcodec/mpegvideo_xvmc.c
>
> Modified: trunk/libavcodec/mpegvideo_xvmc.c
> ==============================================================================
> --- 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




More information about the ffmpeg-cvslog mailing list