follow-up r86169 - It appears when merging PNGMetadataExtractor.php, I somehow deleted $duration (whoops!)
// the +12 is the length of an empty item.
while ( $offset + 12 <= $appLen ) {
+ $valid = true;
if ( substr( $app13, $offset, 4 ) !== '8BIM' ) {
// its supposed to be 8BIM
// but apparently sometimes isn't esp. in
$frameCount = 0;
$loopCount = 1;
$text = array();
+ $duration = 0.0;
$bitDepth = 0;
$colorType = 'unknown';
'loopCount' => $loopCount,
'duration' => $duration,
'text' => $text,
- 'duration' => $duration,
'bitDepth' => $bitDepth,
'colorType' => $colorType,
);