r68327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68326‎ | r68327 | r68328 >
Date:16:15, 20 June 2010
Author:hartman
Status:ok
Tags:
Comment:
Follow up r68324.
Init PNG info array before we use it. Much cleaner.
Modified paths:
  • /trunk/phase3/includes/media/PNG.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/PNG.php
@@ -61,6 +61,7 @@
6262 if( !metadata || $metadata['frameCount'] == 0 )
6363 return $original;
6464
 65+ $info = array();
6566 $info[] = substr( $original, 1, strlen( $original )-2 );
6667
6768 if ($metadata['loopCount'] == 0)

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68324Add a new PNG parser in order to recognize APNG (animated PNG) images.hartman16:09, 20 June 2010

Status & tagging log