[MPlayer-dev-eng] bug+fix in libmpcodecs/vf_delogo.c

Alexander Stege mplayer at legale-software.com
Mon Oct 6 16:11:41 CEST 2003


Hi!

There is some typo in the delogo code that causes a crash:
                                                          
@@ -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-dev-eng mailing list