Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
910 B

7 years ago
  1. *** src/zip/zpng.c 2012-05-29 18:44:36.888974112 +0200
  2. --- src/zip/zpng.c 2012-05-29 18:59:19.292452834 +0200
  3. ***************
  4. *** 80,89 ****
  5. /*set a lot of image info (code adapted from libpng documentation!)*/
  6. png_set_IHDR(png_ptr, info_ptr, width, height,
  7. ! 8, PNG_COLOR_TYPE_RGB_ALPHA, PNG_INTERLACE_NONE,
  8. PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
  9. - info_ptr->color_type=PNG_COLOR_TYPE_RGB_ALPHA;
  10. /*Allocate an array of scanline pointers*/
  11. row_pointers=(png_bytep*)malloc(height*sizeof(png_bytep));
  12. --- 80,88 ----
  13. /*set a lot of image info (code adapted from libpng documentation!)*/
  14. png_set_IHDR(png_ptr, info_ptr, width, height,
  15. ! 8, PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE,
  16. PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
  17. /*Allocate an array of scanline pointers*/
  18. row_pointers=(png_bytep*)malloc(height*sizeof(png_bytep));