[FFmpeg-devel] [PATCH 3/7] sunrastenc: remove dead store

Paul B Mahol onemda at gmail.com
Thu Mar 22 04:36:27 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 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]
-- 
1.7.7



More information about the ffmpeg-devel mailing list