ffmpeg-php icon indicating copy to clipboard operation
ffmpeg-php copied to clipboard

Updated getYear() to check for both 'year' and 'date' keys to fix segfault

Open jonjo-blur opened this issue 11 years ago • 1 comments

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

jonjo-blur avatar Feb 20 '14 11:02 jonjo-blur

Weird. Does valgrind show you anything? USE_ZEND_ALLOC=0 valgrind --tool=memcheck php script.php

tony2001 avatar Feb 21 '14 08:02 tony2001