Mercurial > libavcodec.hg
changeset 8868:2534e44a9472 libavcodec
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 ||
author | diego |
---|---|
date | Sat, 14 Feb 2009 19:24:37 +0000 |
parents | 0694627caaea |
children | 0c1463d800fe |
files | mpegvideo_xvmc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]);