mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
d09ccd2766
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
19 lines
799 B
Diff
19 lines
799 B
Diff
|
|
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;
|
|
}
|
|
|
|
|
|
|
|
|
|
|