From b0162175ccdc22a5f67f15813301884de0d3c56e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 18 Jan 2002 13:50:35 +0000 Subject: small fix to alphablend CVS patchset: 1423 CVS date: 2002/01/18 13:50:35 --- src/video_out/alphablend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_out/alphablend.c b/src/video_out/alphablend.c index 18dd11892..28c20b53d 100644 --- a/src/video_out/alphablend.c +++ b/src/video_out/alphablend.c @@ -411,6 +411,7 @@ void blend_yuv (uint8_t * dst_img, vo_overlay_t * img_overl, int rle_remainder; int rlelen; int x, y; + uint8_t clr=0; uint8_t *dst_y = dst_img + dst_width * y_off + x_off; uint8_t *dst_cr = dst_img + dst_width * dst_height + @@ -431,8 +432,7 @@ void blend_yuv (uint8_t * dst_img, vo_overlay_t * img_overl, #endif for (x = 0; x < src_width;) { - uint8_t clr=0; - uint16_t o=0; + uint16_t o; #ifdef LOG_BLEND_YUV printf("1:rle_len=%d, remainder=%d, x=%d\n",rlelen, rle_remainder, x); #endif -- cgit v1.2.3