* Moving wfGetSVGSize() and wfScaleSVGUnit() into a seperate SVGMetadataExtractor.
[lhc/web/wiklou.git] / includes / media / GIFMetadataExtractor.php
index 0e9c62b..bc1a480 100644 (file)
@@ -1,12 +1,21 @@
 <?php
 /**
-  * GIF frame counter.
-  * Originally written in Perl by Steve Sanbeg.
-  * Ported to PHP by Andrew Garrett
-  * Deliberately not using MWExceptions to avoid external dependencies, encouraging
-  * redistribution.
-  */
+ * GIF frame counter.
+ *
+ * Originally written in Perl by Steve Sanbeg.
+ * Ported to PHP by Andrew Garrett
+ * Deliberately not using MWExceptions to avoid external dependencies, encouraging
+ * redistribution.
+ *
+ * @file
+ * @ingroup Media
+ */
 
+/**
+ * GIF frame counter.
+ *
+ * @ingroup Media
+ */
 class GIFMetadataExtractor {
        static $gif_frame_sep;
        static $gif_extension_sep;
@@ -101,7 +110,7 @@ class GIFMetadataExtractor {
                                        // NETSCAPE2.0 (application name)
                                        if ($blockLength != 11 || $data != 'NETSCAPE2.0') {
                                                fseek( $fh, -($blockLength + 1), SEEK_CUR );
-                                               self::skipBlock();
+                                               self::skipBlock( $fh );
                                                continue;
                                        }