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 9577024..15399d4 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++;