]> mj.ucw.cz Git - libucw.git/blobdiff - images/io-libpng.c
Split autoconf.cfg
[libucw.git] / images / io-libpng.c
index 2095065f189a9c4a198697b3c90081d230a627b2..081ca35f45ec3ece58ff7c08a4fca7de9e872c26 100644 (file)
@@ -9,9 +9,9 @@
 
 #undef LOCAL_DEBUG
 
-#include "lib/lib.h"
-#include "lib/mempool.h"
-#include "lib/fastbuf.h"
+#include "ucw/lib.h"
+#include "ucw/mempool.h"
+#include "ucw/fastbuf.h"
 #include "images/images.h"
 #include "images/error.h"
 #include "images/color.h"
@@ -201,7 +201,7 @@ libpng_read_data(struct image_io *io)
     }
 
   uns read_flags = io->flags;
-  
+
   /* Apply transformations */
   if (rd->bit_depth == 16)
     png_set_strip_16(rd->png_ptr);
@@ -254,7 +254,7 @@ libpng_read_data(struct image_io *io)
              read_flags = (read_flags & IMAGE_CHANNELS_FORMAT) | IMAGE_ALPHA;
            else
               png_set_strip_alpha(rd->png_ptr);
-         }  
+         }
        break;
       case PNG_COLOR_TYPE_RGB:
        if ((read_flags & IMAGE_COLOR_SPACE) == COLOR_SPACE_GRAYSCALE)