changeset 11029:bdf37ec99325

bug found by Alexander Stege
author nexus
date Mon, 06 Oct 2003 18:11:38 +0000
parents cc4aa6cf7571
children 2991766c057c
files libmpcodecs/vf_delogo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_delogo.c	Mon Oct 06 16:40:24 2003 +0000
+++ b/libmpcodecs/vf_delogo.c	Mon Oct 06 18:11:38 2003 +0000
@@ -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);