diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-09 14:32:19 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-09 14:32:19 +0000 |
commit | 78383383f77308f44dfd94aea1e3b6af77cd1cef (patch) | |
tree | 0f981c4d92a6d637095de6a5db249e30ab489f1c /libmpcodecs | |
parent | c9872edafeb35978253d9d9cacd53e0bc182e976 (diff) | |
download | mpv-78383383f77308f44dfd94aea1e3b6af77cd1cef.tar.bz2 mpv-78383383f77308f44dfd94aea1e3b6af77cd1cef.tar.xz |
Do not calculate the same value twice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28911 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ve_nuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |