diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-12-07 13:48:58 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-12-07 15:29:13 +0100 |
commit | ee41963f19eb6303b1582601dfccb1753866ab63 (patch) | |
tree | b57d0533b89169f91867435381f34b519706671a /libavcodec/msrledec.c | |
parent | fc9489f6adb9d3e790e6e5ebe984eaee0c733b09 (diff) | |
download | ffmpeg-ee41963f19eb6303b1582601dfccb1753866ab63.tar.gz |
cosmetics: drop some completely pointless parentheses
Diffstat (limited to 'libavcodec/msrledec.c')
-rw-r--r-- | libavcodec/msrledec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/msrledec.c b/libavcodec/msrledec.c index 46cd50dcbc..5e33a59280 100644 --- a/libavcodec/msrledec.c +++ b/libavcodec/msrledec.c @@ -138,8 +138,8 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int de uint32_t av_uninit(pix32); unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3); - output = pic->data[0] + (avctx->height - 1) * pic->linesize[0]; - output_end = pic->data[0] + (avctx->height) * pic->linesize[0]; + output = pic->data[0] + (avctx->height - 1) * pic->linesize[0]; + output_end = pic->data[0] + avctx->height * pic->linesize[0]; while(src < data + srcsize) { p1 = *src++; if(p1 == 0) { //Escape code |