Re: 64 bit platform improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux