From b560fb2caf3f575bddfaa70dc0e23d8ddeea46bd Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 23 May 2003 13:20:43 +0000 Subject: [PATCH] 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10164 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index d6f76d056d..a56612257d 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -271,8 +271,8 @@ mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype, { 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);