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

diego subversion
Sat Feb 14 20:24:39 CET 2009


Author: diego
Date: Sat Feb 14 20:24:37 2009
New Revision: 17267

Log:
Restore one set of parentheses to avoid the warning:
libavcodec/mpegvideo_xvmc.c: In function ?ff_xvmc_decode_mb?:
libavcodec/mpegvideo_xvmc.c:269: warning: suggest parentheses around && within ||

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:21:00 2009	(r17266)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 20:24:37 2009	(r17267)
@@ -266,7 +266,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)))
                 s->pblocks[i][0] -= 1 << 10;
             if (!render->idct) {
                 s->dsp.idct(s->pblocks[i]);




More information about the ffmpeg-cvslog mailing list