]>
Commit | Line | Data |
---|---|---|
ead9d1b6 | 1 | diff -ur enblend-enfuse-4.0-753b534c819d.orig/src/vigra_impex/png.cxx enblend-enfuse-4.0-753b534c819d/src/vigra_impex/png.cxx |
2 | --- enblend-enfuse-4.0-753b534c819d.orig/src/vigra_impex/png.cxx 2009-12-20 16:32:28.000000000 +0100 | |
3 | +++ enblend-enfuse-4.0-753b534c819d/src/vigra_impex/png.cxx 2010-03-01 11:41:51.340281184 +0100 | |
4 | @@ -274,8 +274,8 @@ | |
5 | // expand gray values to at least one byte size | |
6 | if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) { | |
7 | if (setjmp(png->jmpbuf)) | |
8 | - vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str()); | |
9 | - png_set_gray_1_2_4_to_8(png); | |
10 | + vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str()); | |
11 | + png_set_expand_gray_1_2_4_to_8(png); | |
12 | bit_depth = 8; | |
13 | } | |
14 |