[FFmpeg-cvslog] exr: remove dead assigment

Paul B Mahol git at videolan.org
Wed Jul 11 22:45:41 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jul 11 20:43:37 2012 +0000| [5ee41d00f6bc7cb85fd8f7e5cbae184fdf9099c5] | committer: Paul B Mahol

exr: remove dead assigment

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ee41d00f6bc7cb85fd8f7e5cbae184fdf9099c5
---

 libavcodec/exr.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 2a91722..2628a8c 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;



More information about the ffmpeg-cvslog mailing list