summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_out/alphablend.c4
1 files 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