[FFmpeg-cvslog] r25097 - trunk/libavfilter/vf_crop.c

stefano subversion
Fri Sep 10 19:44:09 CEST 2010


Author: stefano
Date: Fri Sep 10 19:44:08 2010
New Revision: 25097

Log:
Cosmetics: remove useless parentheses.

Modified:
   trunk/libavfilter/vf_crop.c

Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c	Fri Sep 10 19:33:31 2010	(r25096)
+++ trunk/libavfilter/vf_crop.c	Fri Sep 10 19:44:08 2010	(r25097)
@@ -132,7 +132,7 @@ static void start_frame(AVFilterLink *li
     picref->video->h = crop->h;
 
     ref2->data[0] += crop->y * ref2->linesize[0];
-    ref2->data[0] += (crop->x * crop->max_step[0]);
+    ref2->data[0] += crop->x * crop->max_step[0];
 
     if (!(av_pix_fmt_descriptors[link->format].flags & PIX_FMT_PAL)) {
         for (i = 1; i < 3; i ++) {
@@ -146,7 +146,7 @@ static void start_frame(AVFilterLink *li
     /* alpha plane */
     if (ref2->data[3]) {
         ref2->data[3] += crop->y * ref2->linesize[3];
-        ref2->data[3] += (crop->x * crop->max_step[3]);
+        ref2->data[3] += crop->x * crop->max_step[3];
     }
 
     avfilter_start_frame(link->dst->outputs[0], ref2);



More information about the ffmpeg-cvslog mailing list