From 8cd91a44b82316ea221e1161a134e03ca6ae1a08 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 23 May 2002 15:40:08 +0000 Subject: [PATCH] applied 64bit patch from Ulrich Hecht Originally committed as revision 6165 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/postprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postproc/postprocess.c b/postproc/postprocess.c index 95770240e1..15399d48a8 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -638,7 +638,7 @@ struct PPMode getPPModeByNameAndQuality(char *name, int quality) 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++;