changeset 5595:979dd8764fa6

10l
author arpi
date Sat, 13 Apr 2002 14:21:52 +0000
parents dc8ebd9736f4
children 70e88ec799b4
files libmpcodecs/vf_rgb2bgr.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_rgb2bgr.c	Sat Apr 13 14:18:57 2002 +0000
+++ b/libmpcodecs/vf_rgb2bgr.c	Sat Apr 13 14:21:52 2002 +0000
@@ -62,6 +62,8 @@
 		rgb32tobgr32(src,dst,srcsize);
 	    else
 		rgb24tobgr24(src,dst,srcsize);
+	    src+=mpi->stride[0];
+	    dst+=dmpi->stride[0];
 	}
     } else {
 	if(mpi->bpp==32)