]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove useless parentheses.
authorvitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 3 Jul 2007 02:52:40 +0000 (02:52 +0000)
committervitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 3 Jul 2007 02:52:40 +0000 (02:52 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9465 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/roqvideo.c

index edccc5f066c261d8eafa3dd545c2554d0b359549..cc2413363d12b2ad3ff44e54a20037339c9ae192 100644 (file)
@@ -44,7 +44,7 @@ void ff_apply_vector_2x2(RoqContext *ri, int x, int y, roq_cell *cell)
     int boffs,stride;
 
     stride = ri->current_frame->linesize[0];
-    boffs = (y * stride) + x;
+    boffs = y*stride + x;
 
     bptr = ri->current_frame->data[0] + boffs;
     bptr[0       ] = cell->y[0];
@@ -74,7 +74,7 @@ void ff_apply_vector_4x4(RoqContext *ri, int x, int y, roq_cell *cell)
     int boffs,stride;
 
     stride = ri->current_frame->linesize[0];
-    boffs = (y * stride) + x;
+    boffs = y*stride + x;
 
     bptr = ri->current_frame->data[0] + boffs;
     bptr[         0] = bptr[         1] = bptr[stride    ] = bptr[stride  +1] = cell->y[0];