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

ib subversion at mplayerhq.hu
Sat Oct 5 22:07:26 EEST 2024


Author: ib
Date: Sat Oct  5 22:07:25 2024
New Revision: 38665

Log:
Use correct type to define the variable passed to lzo1x_1_compress().

Recent compilers consider an implicit cast to be an error.

Modified:
   trunk/libmpcodecs/ve_nuv.c

Modified: trunk/libmpcodecs/ve_nuv.c
==============================================================================
--- trunk/libmpcodecs/ve_nuv.c	Tue Oct  1 15:43:31 2024	(r38664)
+++ trunk/libmpcodecs/ve_nuv.c	Sat Oct  5 22:07:25 2024	(r38665)
@@ -125,7 +125,7 @@ static int put_image(struct vf_instance
   uint8_t* data = vf->priv->buffer + FRAMEHEADERSIZE;
   uint8_t* zdata = vf->priv->zbuffer + FRAMEHEADERSIZE;
   int len = 0, r;
-  size_t zlen = 0;
+  lzo_uint zlen = 0;
 
   memset(header, 0, FRAMEHEADERSIZE); // Reset the header
   if(vf->priv->lzo)


More information about the MPlayer-cvslog mailing list