summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2007-07-03 02:52:40 +0000
committerVitor Sessak <vitor1001@gmail.com>2007-07-03 02:52:40 +0000
commit737b7fb93e90dbdf8fd7c003a6115ce88575040c (patch)
treee536d807ba0012a8591f7fe670f6399fe3404072 /libavcodec/roqvideo.c
parent1926bd92d58127001eb6849292c154d852660e98 (diff)
downloadffmpeg-737b7fb93e90dbdf8fd7c003a6115ce88575040c.tar.gz
Remove useless parentheses.
Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideo.c')
-rw-r--r--libavcodec/roqvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c
index edccc5f066..cc2413363d 100644
--- a/libavcodec/roqvideo.c
+++ b/libavcodec/roqvideo.c
@@ -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];