applied 64bit patch from Ulrich Hecht <uli at suse dot de>
authorAlex Beregszaszi <alex@rtfs.hu>
Thu, 23 May 2002 15:40:08 +0000 (15:40 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Thu, 23 May 2002 15:40:08 +0000 (15:40 +0000)
Originally committed as revision 6165 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/postprocess.c

index 95770240e1e12342e571fcff27c5c96ca9862aa6..15399d48a88111bec917be8e45e16cbc50ada85c 100644 (file)
@@ -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++;