# HG changeset patch # User diego # Date 1234639477 0 # Node ID 2534e44a947249ce5b8a8f88b3f2d131c6f03fc5 # Parent 0694627caaea9aa1f66d8a32268970a18bb5b62a 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 || diff -r 0694627caaea -r 2534e44a9472 mpegvideo_xvmc.c --- a/mpegvideo_xvmc.c Sat Feb 14 19:21:00 2009 +0000 +++ b/mpegvideo_xvmc.c Sat Feb 14 19:24:37 2009 +0000 @@ -266,7 +266,7 @@ 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]);