[FFmpeg-cvslog] sunrastenc: remove dead store
Paul B Mahol
git at videolan.org
Thu Mar 22 14:03:30 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Mar 22 03:36:27 2012 +0000| [f5463d5347bd2b3d5630a512dbc7139ccec40ac5] | committer: Michael Niedermayer
sunrastenc: remove dead store
Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5463d5347bd2b3d5630a512dbc7139ccec40ac5
---
libavcodec/sunrastenc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 6aae353..43d6b25 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -84,7 +84,6 @@ static void sunrast_image_write_image(AVCodecContext *avctx,
uint8_t value, value2;
int run;
- y = 0;
ptr = pixels;
#define GET_VALUE y >= avctx->height ? 0 : x >= len ? ptr[len-1] : ptr[x]
More information about the ffmpeg-cvslog
mailing list