summaryrefslogtreecommitdiff
path: root/src/video_out/alphablend.c
diff options
context:
space:
mode:
authorMatthias Dahl <matt2000@users.sourceforge.net>2001-11-05 23:15:13 +0000
committerMatthias Dahl <matt2000@users.sourceforge.net>2001-11-05 23:15:13 +0000
commite061b73a7ffa100d397728761712c1ccd46ec140 (patch)
tree0213316fc0d51aa78dde40caeb9c6293371fa6eb /src/video_out/alphablend.c
parent036c415f63981b39885bd715669298c89f70f277 (diff)
downloadxine-lib-e061b73a7ffa100d397728761712c1ccd46ec140.tar.gz
xine-lib-e061b73a7ffa100d397728761712c1ccd46ec140.tar.bz2
Fixing cr<->cb swap error in alphablending code; fixed some confusions in
the naming conventions within the plugin. CVS patchset: 962 CVS date: 2001/11/05 23:15:13
Diffstat (limited to 'src/video_out/alphablend.c')
-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 635fd8c8a..56d1624d4 100644
--- a/src/video_out/alphablend.c
+++ b/src/video_out/alphablend.c
@@ -399,8 +399,8 @@ void blend_yuv_vo_frame(vo_frame_t* dst_img, vo_overlay_t* img_overl)
int x, y;
uint8_t *dst_y = dst_img->base[0] + dst_img->width * y_off + x_off;
- uint8_t *dst_cr = dst_img->base[1] + (y_off / 2) * (dst_img->width / 2) + (x_off / 2) + 1;
- uint8_t *dst_cb = dst_img->base[2] + (y_off / 2) * (dst_img->width / 2) + (x_off / 2) + 1;
+ uint8_t *dst_cb = dst_img->base[1] + (y_off / 2) * (dst_img->width / 2) + (x_off / 2) + 1;
+ uint8_t *dst_cr = dst_img->base[2] + (y_off / 2) * (dst_img->width / 2) + (x_off / 2) + 1;
my_clut = (clut_t*) img_overl->color;
my_trans = img_overl->trans;