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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user