applied 64bit patch from Ulrich Hecht <uli at suse dot de>

Originally committed as revision 6165 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Alex Beregszaszi 2002-05-23 15:40:08 +00:00
parent 9e8098e72a
commit 8cd91a44b8

View 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++;