# HG changeset patch # User michael # Date 1175566680 0 # Node ID a6d1c26e8b6f33a9d9c82564ff36120de69819ec # Parent 79db9e9df40a6cd816ac34ca92bcd58c65a4cdc9 cosmetic diff -r 79db9e9df40a -r a6d1c26e8b6f rle.c --- a/rle.c Tue Apr 03 01:23:37 2007 +0000 +++ b/rle.c Tue Apr 03 02:18:00 2007 +0000 @@ -58,9 +58,7 @@ int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr , int bpp, int w, int8_t add, uint8_t xor) { int count, x; - uint8_t *out; - - out = outbuf; + uint8_t *out = outbuf; for(x = 0; x < w; x += count) { /* see if we can encode the next set of pixels with RLE */