ffmpeg-php
ffmpeg-php copied to clipboard
Updated getYear() to check for both 'year' and 'date' keys to fix segfault
The previous implementation segfaults on newer versions of ffmpeg due to the 'year' field apparently being replaced with 'date'; this fixes that and passes the testsuite
Weird. Does valgrind show you anything? USE_ZEND_ALLOC=0 valgrind --tool=memcheck php script.php