cosmetics: Consistently format all if/else statements in K&R style

and drop braces from if statements where unnecessary.

Originally committed as revision 17260 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun
2009-02-14 19:00:51 +00:00
parent 9f00a41cb3
commit 4ec58e1397

View File

@@ -52,11 +52,10 @@ void ff_xvmc_pack_pblocks(MpegEncContext *s, int cbp)
j = 0;
cbp <<= 12-mb_block_count;
for (i = 0; i < mb_block_count; i++) {
if (cbp & (1<<11)) {
if (cbp & (1 << 11))
s->pblocks[i] = (short *)(&s->block[j++]);
}else{
else
s->pblocks[i] = NULL;
}
cbp+=cbp;
}
}