diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-03 02:18:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-03 02:18:00 +0000 |
commit | 65df54496e86cdb46948b3c15df4ba91d2927ceb (patch) | |
tree | a4c0073be15c4997ac61604b6908504c1c68dfde /libavcodec/rle.c | |
parent | eb24fd64589b7eea91fa752861f0c6f07e5a48a8 (diff) | |
download | ffmpeg-65df54496e86cdb46948b3c15df4ba91d2927ceb.tar.gz |
cosmetic
Originally committed as revision 8601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rle.c')
-rw-r--r-- | libavcodec/rle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/rle.c b/libavcodec/rle.c index b3d09fb53a..acbd1f42fb 100644 --- a/libavcodec/rle.c +++ b/libavcodec/rle.c @@ -58,9 +58,7 @@ static int count_pixels(const uint8_t *start, int len, int bpp, int same) 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 */ |