Mercurial > mplayer.hg
changeset 28877:aed9da3c6d0f
Fix type of zlen, fixes crashes on 64 bit systems.
author | reimar |
---|---|
date | Mon, 09 Mar 2009 14:40:55 +0000 |
parents | e08f479da233 |
children | 2f71bc5f5f12 |
files | libmpcodecs/ve_nuv.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_nuv.c Mon Mar 09 14:32:19 2009 +0000 +++ b/libmpcodecs/ve_nuv.c Mon Mar 09 14:40:55 2009 +0000 @@ -105,7 +105,8 @@ struct rtframeheader* ench = (struct rtframeheader*)vf->priv->buffer; uint8_t* data = vf->priv->buffer + FRAMEHEADERSIZE; uint8_t* zdata = vf->priv->zbuffer + FRAMEHEADERSIZE; - int len = 0, zlen = 0,r; + int len = 0, r; + size_t zlen = 0; memset(vf->priv->buffer,0,FRAMEHEADERSIZE); // Reset the header if(vf->priv->lzo)