From eba9cecc8b3ee088d99a0e0d82b15618d5efbfff Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sat, 14 Feb 2009 19:24:37 +0000
Subject: [PATCH] =?UTF-8?q?Restore=20one=20set=20of=20parentheses=20to=20a?=
 =?UTF-8?q?void=20the=20warning:=20libavcodec/mpegvideo=5Fxvmc.c:=20In=20f?=
 =?UTF-8?q?unction=20=E2=80=98ff=5Fxvmc=5Fdecode=5Fmb=E2=80=99:=20libavcod?=
 =?UTF-8?q?ec/mpegvideo=5Fxvmc.c:269:=20warning:=20suggest=20parentheses?=
 =?UTF-8?q?=20around=20&&=20within=20||?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 17267 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/mpegvideo_xvmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index e1d0e7e0560..0a9496442a3 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -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]);
-- 
GitLab