aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
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;