[Mplayer-cvslog] CVS: main/libmpcodecs vf.c,1.4,1.5

Arpi of Ize arpi at mplayer.dev.hu
Sun Apr 7 23:36:42 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv10401

Modified Files:
	vf.c 
Log Message:
allocate 2 lines more memory - to avoid some sig11

Index: vf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vf.c	7 Apr 2002 20:21:37 -0000	1.4
+++ vf.c	7 Apr 2002 21:36:39 -0000	1.5
@@ -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;




More information about the MPlayer-cvslog mailing list