changeset 5202:07005ff96430 libavcodec

Remove useless parentheses.
author vitor
date Tue, 03 Jul 2007 02:52:40 +0000
parents fa85149193e2
children d71791d72286
files roqvideo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/roqvideo.c	Tue Jul 03 02:50:36 2007 +0000
+++ b/roqvideo.c	Tue Jul 03 02:52:40 2007 +0000
@@ -44,7 +44,7 @@
     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 @@
     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];