[Mplayer-cvslog] CVS: main/libmpcodecs vf_delogo.c,1.3,1.4

Bohdan 'Nexus' Horst CVS nexus at mplayerhq.hu
Mon Oct 6 20:12:14 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv27313

Modified Files:
	vf_delogo.c 
Log Message:
bug found by Alexander Stege

Index: vf_delogo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_delogo.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vf_delogo.c	5 Sep 2003 16:04:40 -0000	1.3
+++ vf_delogo.c	6 Oct 2003 18:11:38 -0000	1.4
@@ -74,7 +74,7 @@
     logo_y2 = logo_y + logo_h - yclipb;
 
     topleft = src+logo_y1*srcStride+logo_x1;
-    topright = src+logo_x1*srcStride+logo_x2-1;
+    topright = src+logo_y1*srcStride+logo_x2-1;
     botleft = src+(logo_y2-1)*srcStride+logo_x1;
 
     if (!direct) memcpy_pic(dst, src, width, height, dstStride, srcStride);



More information about the MPlayer-cvslog mailing list