Mercurial > libavcodec.hg
diff libpostproc/postprocess.c @ 419:b71190bacce8 libavcodec
applied 64bit patch from Ulrich Hecht <uli at suse dot de>
author | alex |
---|---|
date | Thu, 23 May 2002 15:33:23 +0000 |
parents | 80edc2aaff86 |
children | 4914252c963a |
line wrap: on
line diff
--- a/libpostproc/postprocess.c Thu May 23 13:34:22 2002 +0000 +++ b/libpostproc/postprocess.c Thu May 23 15:33:23 2002 +0000 @@ -638,7 +638,7 @@ else p--, *p=','; //not last filter plen= strlen(p); - spaceLeft= (int)p - (int)temp + plen; + spaceLeft= p - temp + plen; if(spaceLeft + newlen >= GET_MODE_BUFFER_SIZE) { ppMode.error++;