summaryrefslogtreecommitdiff
path: root/libavcodec/msrledec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-07 13:48:58 +0100
committerDiego Biurrun <diego@biurrun.de>2011-12-07 15:29:13 +0100
commitee41963f19eb6303b1582601dfccb1753866ab63 (patch)
treeb57d0533b89169f91867435381f34b519706671a /libavcodec/msrledec.c
parentfc9489f6adb9d3e790e6e5ebe984eaee0c733b09 (diff)
cosmetics: drop some completely pointless parentheses
Diffstat (limited to 'libavcodec/msrledec.c')
-rw-r--r--libavcodec/msrledec.c4
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