summaryrefslogtreecommitdiff
path: root/graphics/hugin/libpng14-fix.diff
blob: c6db4691a8655c93fa1b8da25780209f75f4e716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

diff -r 827cc1b11702 -r f978e43bbdd4 src/foreign/vigra/vigra_impex/png.cxx
--- a/src/foreign/vigra/vigra_impex/png.cxx	Mon Aug 20 12:59:12 2007 +0000
+++ b/src/foreign/vigra/vigra_impex/png.cxx	Mon Feb 01 15:10:49 2010 +0000
@@ -271,8 +271,8 @@
         // expand gray values to at least one byte size
         if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
             if (setjmp(png->jmpbuf))
-                vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
-            png_set_gray_1_2_4_to_8(png);
+                vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
+            png_set_expand_gray_1_2_4_to_8(png);
             bit_depth = 8;
         }