changeset 10163:377b04e2ae1a

10l
author alex
date Fri, 23 May 2003 13:20:43 +0000
parents ee2fabf561ed
children 01586a9d643d
files libmpcodecs/vf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf.c	Fri May 23 13:11:49 2003 +0000
+++ b/libmpcodecs/vf.c	Fri May 23 13:20:43 2003 +0000
@@ -271,8 +271,8 @@
 	  {
 	     mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8+
 	    				mpi->chroma_width*mpi->chroma_height);
-	     /* delta table, just for fun ;) */
-	     mpi->planes[3]=mpi->planes[0]+2*(mpi->chroma_width*mpi->chroma_height);
+	     /* export delta table */
+	     mpi->planes[3]=mpi->planes[0]+(mpi->width*mpi->height)+(mpi->chroma_width*mpi->chroma_height);
 	  }
 	  else
 	     mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8);