From 223dbfb4fa8cccb43a1efb5ebf9591947f224af0 Mon Sep 17 00:00:00 2001 From: Christophe Thommeret Date: Sat, 20 Dec 2008 17:43:41 +0000 Subject: Alpha-handling optimisation. --- src/video_out/video_out_vdpau.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index d868f8d32..2ea885d2c 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -249,7 +249,6 @@ static int vdpau_process_ovl( vdpau_driver_t *this_gen, vo_overlay_t *overlay ) uint8_t *hili_trans = overlay->hili_trans; clut_t *colors; uint8_t *trans; - uint8_t src_alpha; int rlelen = 0; uint8_t clr = 0; int i, pos=0, x, y; @@ -267,12 +266,11 @@ static int vdpau_process_ovl( vdpau_driver_t *this_gen, vo_overlay_t *overlay ) } rlelen = rle->len; clr = rle->color; - src_alpha = trans[clr]; for ( i=0; i