Commit 1d4ecd31 authored by vitor's avatar vitor

Remove more useless parentheses.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9471 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 69dc95f8
......@@ -118,8 +118,8 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax
for(cp = 0; cp < 3; cp++) {
int outstride = ri->current_frame->linesize[cp];
int instride = ri->last_frame ->linesize[cp];
block_copy(ri->current_frame->data[cp] + (y*outstride) + x,
ri->last_frame->data[cp] + (my*instride) + mx,
block_copy(ri->current_frame->data[cp] + y*outstride + x,
ri->last_frame->data[cp] + my*instride + mx,
outstride, instride, sz);
}
}
......
......@@ -608,7 +608,7 @@ typedef struct
/* NOTE: Typecodes must be spooled AFTER arguments!! */
static void write_typecode(CodingSpool *s, uint8_t type)
{
s->typeSpool |= ((type) & 3) << (14 - s->typeSpoolLength);
s->typeSpool |= (type & 3) << (14 - s->typeSpoolLength);
s->typeSpoolLength += 2;
if (s->typeSpoolLength == 16) {
bytestream_put_le16(s->pout, s->typeSpool);
......
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