diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-01-07 19:07:42 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-07 22:13:07 +0100 |
commit | 3dc99a18d4ae2b9bcc96e00b7f589128717aec64 (patch) | |
tree | 895f83e64aae6cdea16c72998257634424866042 /libavcodec/error_resilience.c | |
parent | 079688b6cbd2944ab84d3539efcde161aa090fac (diff) | |
download | ffmpeg-3dc99a18d4ae2b9bcc96e00b7f589128717aec64.tar.gz |
cosmetics: drop some pointless parentheses
Diffstat (limited to 'libavcodec/error_resilience.c')
-rw-r--r-- | libavcodec/error_resilience.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index 39c0b2f622..855ae770ad 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -109,8 +109,8 @@ static void put_dc(MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t for(y=0; y<8; y++){ int x; for(x=0; x<8; x++){ - dest_cb[x + y*(s->uvlinesize)]= dcu/8; - dest_cr[x + y*(s->uvlinesize)]= dcv/8; + dest_cb[x + y * s->uvlinesize] = dcu / 8; + dest_cr[x + y * s->uvlinesize] = dcv / 8; } } } @@ -1092,8 +1092,8 @@ void ff_er_frame_end(MpegEncContext *s){ for(y=0; y<8; y++){ int x; for(x=0; x<8; x++){ - dcu+=dest_cb[x + y*(s->uvlinesize)]; - dcv+=dest_cr[x + y*(s->uvlinesize)]; + dcu += dest_cb[x + y * s->uvlinesize]; + dcv += dest_cr[x + y * s->uvlinesize]; } } s->dc_val[1][mb_x + mb_y*s->mb_stride]= (dcu+4)>>3; |