Re: 64 bit platform improvements

From: Date: Tue, 24 Dec 2013 22:20:43 +0000
Subject: Re: 64 bit platform improvements
References: 1 2 3 4 5  Groups: php.windows 
Request: Send a blank email to php-windows+get-31215@lists.php.net to get a copy of this message
Jan Ehrhardt in php.windows (Tue, 24 Dec 2013 16:28:56 +0100): >Of course I tried to patch and compile php_ffmpeg. I only replaced the >'long' things with their 'int' couterparts. > >REGISTER_LONG_CONSTANT := REGISTER_INT_CONSTANT >ZVAL_LONG := ZVAL_INT >RETURN_LONG := RETURN_INT >convert_to_long_ex := convert_to_int_ex >Z_LVAL_PP := Z_DVAL_PP (I was not really sure about this one) OK, that had to be Z_LVAL_PP := Z_IVAL_PP >Most of these changes were in ffmpeg_frame.c. The result: it compiled, >but the frame functions failed (and thus also the making of a >thumbnail). Compare these two: > >http://x32.elijst.nl/fftest.php (PHP 5.3.28) >http://x32.elijst.nl/fftest.php5f (PHP 5.7.0-dev) Works now: http://x32.elijst.nl/fftest.php5f http://x32.elijst.nl/ffthumb.php5f php_ffmpeg.dll will survive the 64-bit transition :-) Jan

« previous php.windows (#31215) next »