# HG changeset patch # User alex # Date 1053696043 0 # Node ID 377b04e2ae1a01018b209883145ee48f6410b19d # Parent ee2fabf561edb6e97af0392cf79857e1b1e94cf2 10l diff -r ee2fabf561ed -r 377b04e2ae1a libmpcodecs/vf.c --- 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);