summaryrefslogtreecommitdiff
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-11 20:43:37 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-11 20:43:37 +0000
commit5ee41d00f6bc7cb85fd8f7e5cbae184fdf9099c5 (patch)
tree745629385874a0f77669f2996e6397073f76ff83 /libavcodec/exr.c
parentdd0a9b78db0eeea72183bd3f5bc5fe51a5d3f537 (diff)
exr: remove dead assigment
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 2a91722055..2628a8cbda 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -457,8 +457,6 @@ static int decode_frame(AVCodecContext *avctx,
// Zero out the end if xmax+1 is not w
memset(ptr_x, 0, (avctx->width - (xmax + 1)) * 2 * av_pix_fmt_descriptors[avctx->pix_fmt].nb_components);
- ptr_x += (avctx->width - (xmax + 1)) * av_pix_fmt_descriptors[avctx->pix_fmt].nb_components;
-
}
// Move to next line
ptr += stride;