]> git.sesse.net Git - ffmpeg/commitdiff
Remove useless parentheses.
authorVitor Sessak <vitor1001@gmail.com>
Tue, 3 Jul 2007 02:52:40 +0000 (02:52 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Tue, 3 Jul 2007 02:52:40 +0000 (02:52 +0000)
Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk

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];