summaryrefslogtreecommitdiff
path: root/libavcodec/sunrastenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 6aae353983..43d6b253e2 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]