From 737b7fb93e90dbdf8fd7c003a6115ce88575040c Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Tue, 3 Jul 2007 02:52:40 +0000 Subject: [PATCH] Remove useless parentheses. Originally committed as revision 9465 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c index edccc5f066c..cc2413363d1 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]; -- 2.39.5