summaryrefslogtreecommitdiff
path: root/graphics/swfmill/files/patch-readpng.c
blob: ba18494b46ead536c1f0d95fb8cccdea6fbc33d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/swft/readpng.c.orig	2006-07-20 15:57:17.000000000 +0200
+++ src/swft/readpng.c	2010-03-29 16:19:53.000000000 +0200
@@ -69,7 +69,7 @@
      * have used slightly more general png_sig_cmp() function instead */
 
     fread(sig, 1, 8, infile);
-    if (!png_check_sig(sig, 8))
+    if (png_sig_cmp(sig, 0, 8))
         return 1;   /* bad signature */