mirror of https://git.ffmpeg.org/ffmpeg.git
Remove more useless parentheses.
Originally committed as revision 9471 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c74a8fe62a
commit
8448946e37
|
@ -118,8 +118,8 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax
|
||||||
for(cp = 0; cp < 3; cp++) {
|
for(cp = 0; cp < 3; cp++) {
|
||||||
int outstride = ri->current_frame->linesize[cp];
|
int outstride = ri->current_frame->linesize[cp];
|
||||||
int instride = ri->last_frame ->linesize[cp];
|
int instride = ri->last_frame ->linesize[cp];
|
||||||
block_copy(ri->current_frame->data[cp] + (y*outstride) + x,
|
block_copy(ri->current_frame->data[cp] + y*outstride + x,
|
||||||
ri->last_frame->data[cp] + (my*instride) + mx,
|
ri->last_frame->data[cp] + my*instride + mx,
|
||||||
outstride, instride, sz);
|
outstride, instride, sz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -608,7 +608,7 @@ typedef struct
|
||||||
/* NOTE: Typecodes must be spooled AFTER arguments!! */
|
/* NOTE: Typecodes must be spooled AFTER arguments!! */
|
||||||
static void write_typecode(CodingSpool *s, uint8_t type)
|
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;
|
s->typeSpoolLength += 2;
|
||||||
if (s->typeSpoolLength == 16) {
|
if (s->typeSpoolLength == 16) {
|
||||||
bytestream_put_le16(s->pout, s->typeSpool);
|
bytestream_put_le16(s->pout, s->typeSpool);
|
||||||
|
|
Loading…
Reference in New Issue