[MPlayer-cvslog] r34825 - trunk/libvo/vo_bl.c

reimar subversion at mplayerhq.hu
Sat Mar 24 20:07:26 CET 2012


Author: reimar
Date: Sat Mar 24 20:07:26 2012
New Revision: 34825

Log:
Fix -vo bl with slices.

Patch by Stefan Schuermans {stefan blinkenarea org}

Modified:
   trunk/libvo/vo_bl.c

Modified: trunk/libvo/vo_bl.c
==============================================================================
--- trunk/libvo/vo_bl.c	Sat Mar 24 17:28:55 2012	(r34824)
+++ trunk/libvo/vo_bl.c	Sat Mar 24 20:07:26 2012	(r34825)
@@ -333,7 +333,7 @@ static int draw_slice(uint8_t *srcimg[],
 	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);


More information about the MPlayer-cvslog mailing list