From 5ee41d00f6bc7cb85fd8f7e5cbae184fdf9099c5 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 11 Jul 2012 20:43:37 +0000 Subject: [PATCH] exr: remove dead assigment Signed-off-by: Paul B Mahol --- libavcodec/exr.c | 2 -- 1 file changed, 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;