diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:37:30 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:37:30 +0000 |
commit | 140ffc62a23b22f84656ae768cfe719658aedbc2 (patch) | |
tree | 59a2e2ac37121ba9c8b11254f1671432e900db94 /src/video_out/video_out_raw.c | |
parent | 5f4681b57dd227a2d2a2dd9050fb6103daa6fabd (diff) | |
download | xine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.gz xine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.bz2 |
Trim trailing space & reduce space+tab.
Diffstat (limited to 'src/video_out/video_out_raw.c')
-rw-r--r-- | src/video_out/video_out_raw.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/video_out/video_out_raw.c b/src/video_out/video_out_raw.c index ad7c783ef..69603bd22 100644 --- a/src/video_out/video_out_raw.c +++ b/src/video_out/video_out_raw.c @@ -155,23 +155,23 @@ static int raw_process_ovl( raw_driver_t *this_gen, vo_overlay_t *overlay ) x = pos%ovl->ovl_w; y = pos/ovl->ovl_w; if ( (x>=overlay->hili_left && x<=overlay->hili_right) && (y>=overlay->hili_top && y<=overlay->hili_bottom) ) { - colors = hili_colors; - trans = hili_trans; + colors = hili_colors; + trans = hili_trans; } else { - colors = low_colors; - trans = low_trans; + colors = low_colors; + trans = low_trans; } rlelen = rle->len; clr = rle->color; alpha = trans[clr]; for ( i=0; i<rlelen; ++i ) { - rgba[0] = colors[clr].y; - rgba[1] = colors[clr].cr; - rgba[2] = colors[clr].cb; - rgba[3] = alpha*255/15; - rgba+= 4; - ++pos; + rgba[0] = colors[clr].y; + rgba[1] = colors[clr].cr; + rgba[2] = colors[clr].cb; + rgba[3] = alpha*255/15; + rgba+= 4; + ++pos; } ++rle; --num_rle; @@ -185,7 +185,7 @@ static void raw_overlay_begin (vo_driver_t *this_gen, vo_frame_t *frame_gen, int raw_driver_t *this = (raw_driver_t *) this_gen; if ( !changed ) - return; + return; ++this->ovl_changed; } |