From 78383383f77308f44dfd94aea1e3b6af77cd1cef Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 9 Mar 2009 14:32:19 +0000 Subject: Do not calculate the same value twice git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28911 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_nuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_nuv.c b/libmpcodecs/ve_nuv.c index 132e23a944..edf5664244 100644 --- a/libmpcodecs/ve_nuv.c +++ b/libmpcodecs/ve_nuv.c @@ -132,7 +132,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ 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"); -- cgit v1.2.3