[MPlayer-cvslog] r28911 - trunk/libmpcodecs/ve_nuv.c

reimar subversion at mplayerhq.hu
Mon Mar 9 15:32:19 CET 2009


Author: reimar
Date: Mon Mar  9 15:32:19 2009
New Revision: 28911

Log:
Do not calculate the same value twice

Modified:
   trunk/libmpcodecs/ve_nuv.c

Modified: trunk/libmpcodecs/ve_nuv.c
==============================================================================
--- trunk/libmpcodecs/ve_nuv.c	Mon Mar  9 15:30:41 2009	(r28910)
+++ trunk/libmpcodecs/ve_nuv.c	Mon Mar  9 15:32:19 2009	(r28911)
@@ -132,7 +132,7 @@ static int put_image(struct vf_instance_
     len = mpi->width*mpi->height*3/2;
     // Try lzo ???
     if(vf->priv->lzo) {
-      r = lzo1x_1_compress(mpi->planes[0],mpi->width*mpi->height*3/2,
+      r = lzo1x_1_compress(mpi->planes[0],len,
 			   zdata,&zlen,vf->priv->zmem);
       if(r != LZO_E_OK) {
 	mp_msg(MSGT_VFILTER,MSGL_ERR,"LZO compress error\n");



More information about the MPlayer-cvslog mailing list