Hey there, folks. I hope you are well.
I was trying to create a PoC using FFI with FFMpeg's libav. When trying to load avformat.h (pre-processed with both cpp or gcc) I have the following error:
PHP Fatal error: Uncaught FFI\ParserException: Undefined C type "_Float128" at line 972 in /tmp/ffi-ffmpeg/test.php:5
I am not a C developer, but it is my understanding that I'm not able to use a header file that contains _Float128 type. Is there any workaround for this?
I'll provide a GIST with the code I have so the error can be reproduced:
https://gist.github.com/CViniciusSDias/4023e2f77dc963952624903911558a8f
Thanks in advance for the help,
Vinicius Dias
I was trying to create a PoC using FFI with FFMpeg's libav. When trying to load avformat.h (pre-processed with both cpp or gcc) I have the following error:
PHP Fatal error: Uncaught FFI\ParserException: Undefined C type "_Float128" at line 972 in /tmp/ffi-ffmpeg/test.php:5
I am not a C developer, but it is my understanding that I'm not able to use a header file that contains _Float128 type. Is there any workaround for this?
I'll provide a GIST with the code I have so the error can be reproduced:
https://gist.github.com/CViniciusSDias/4023e2f77dc963952624903911558a8f
Thanks in advance for the help,
Vinicius Dias