changeset 34737:57e2929317bf

Fix -vo bl with slices. Patch by Stefan Schuermans {stefan blinkenarea org}
author reimar
date Sat, 24 Mar 2012 19:07:26 +0000
parents bbbe7b6abc62
children fcff55a05c24
files libvo/vo_bl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_bl.c	Sat Mar 24 16:28:55 2012 +0000
+++ b/libvo/vo_bl.c	Sat Mar 24 19:07:26 2012 +0000
@@ -333,7 +333,7 @@
 	uint8_t *dst;
 	uint8_t *src=srcimg[0];
 	w = wf; h = hf; x = xf; y = yf;
-	dst=image; /* + zr->off_y + zr->image_width*(y/zr->vdec)+x;*/
+	dst = image + y * bl->width + x;
 	// copy Y:
 	for (i = 0; i < h; i++) {
 		fast_memcpy(dst,src,w);