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]