Commit 6efbaff7 authored by diego's avatar diego

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 ||


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17267 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent af59a3db
......@@ -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]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment