# HG changeset patch # User arpi # Date 1018215399 0 # Node ID a66cad52c339ee5e39f5a78c9b2e8aba1e233274 # Parent 8d55957fa018c5816e40643f57fcc62d84caae47 allocate 2 lines more memory - to avoid some sig11 diff -r 8d55957fa018 -r a66cad52c339 libmpcodecs/vf.c --- a/libmpcodecs/vf.c Sun Apr 07 21:33:42 2002 +0000 +++ b/libmpcodecs/vf.c Sun Apr 07 21:36:39 2002 +0000 @@ -84,7 +84,7 @@ if(!(mpi->flags&MP_IMGFLAG_DIRECT)){ // non-direct and not yet allocaed image. allocate it! - mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*mpi->height/8); + mpi->planes[0]=memalign(64, mpi->bpp*mpi->width*(mpi->height+2)/8); if(mpi->flags&MP_IMGFLAG_PLANAR){ // YV12/I420. feel free to add other planar formats here... if(!mpi->stride[0]) mpi->stride[0]=mpi->width;