From: Vitor Sessak Date: Thu, 5 Jul 2007 03:01:53 +0000 (+0000) Subject: Remove more useless parentheses. X-Git-Tag: v0.5~8528 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8448946e37983a55db92bdf46614de5f9c5ceab1;p=platform%2Fupstream%2Flibav.git Remove more useless parentheses. Originally committed as revision 9471 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c index cc24133..53d60a1 100644 --- a/libavcodec/roqvideo.c +++ b/libavcodec/roqvideo.c @@ -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); } } diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 640ee31..380ae9e 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -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);