aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-23 14:09:19 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-23 14:09:19 +0000
commitc0a7d2edd3dc671e9ee9795f7973c7cfe6d2aa41 (patch)
tree89c816d2232191fa40422eba195b04f04fffbc7b
parentc010f7ce8502e88ea582d819096978162b9a538d (diff)
it's still a 10l bug + 10l to me for commiting sh*t first time, and originally I wrote that tooo, so now I'm at about 1000litres? And anyway, this code isn't used :)) No, Rich, no, I will not upload a clip showing me drinking that much cola :)<EOF>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10166 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index a56612257d..b95a56f422 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -272,7 +272,7 @@ 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);
/* export delta table */
- mpi->planes[3]=mpi->planes[0]+(mpi->width*mpi->height)+(mpi->chroma_width*mpi->chroma_height);
+ mpi->planes[3]=mpi->planes[0]+(mpi->width*mpi->height)+2*(mpi->chroma_width*mpi->chroma_height);
}
else
mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8);