Mercurial > libavcodec.hg
changeset 4770:a6d1c26e8b6f libavcodec
cosmetic
author | michael |
---|---|
date | Tue, 03 Apr 2007 02:18:00 +0000 |
parents | 79db9e9df40a |
children | 7cd3ffe4897f |
files | rle.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 */