diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-10 17:44:08 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-10 17:44:08 +0000 |
commit | 11198b18db1f12ddce992b8f44b38572714725e1 (patch) | |
tree | 83d916a82f8ecf89f21729191d6b4164d3095390 | |
parent | 936cfbc589321037282b097a9c4a72f3de03dbb5 (diff) | |
download | ffmpeg-streaming-11198b18db1f12ddce992b8f44b38572714725e1.zip ffmpeg-streaming-11198b18db1f12ddce992b8f44b38572714725e1.tar.gz |
Cosmetics: remove useless parentheses.
Originally committed as revision 25097 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/vf_crop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 880c954..4f8a382 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -132,7 +132,7 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref) 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 *link, AVFilterBufferRef *picref) /* 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); |