[FFmpeg-cvslog] r9465 - trunk/libavcodec/roqvideo.c
vitor
subversion
Tue Jul 3 04:52:40 CEST 2007
Author: vitor
Date: Tue Jul 3 04:52:40 2007
New Revision: 9465
Log:
Remove useless parentheses.
Modified:
trunk/libavcodec/roqvideo.c
Modified: trunk/libavcodec/roqvideo.c
==============================================================================
--- trunk/libavcodec/roqvideo.c (original)
+++ trunk/libavcodec/roqvideo.c Tue Jul 3 04:52:40 2007
@@ -44,7 +44,7 @@ void ff_apply_vector_2x2(RoqContext *ri,
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 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];
More information about the ffmpeg-cvslog
mailing list