X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=images%2Fio-libpng.c;h=081ca35f45ec3ece58ff7c08a4fca7de9e872c26;hb=09e7fe5641b94148d998a1b620bf694f353cb17b;hp=2095065f189a9c4a198697b3c90081d230a627b2;hpb=bf5edbdd5b56a0d2e239e96dd476c7a9a562506a;p=libucw.git diff --git a/images/io-libpng.c b/images/io-libpng.c index 2095065f..081ca35f 100644 --- a/images/io-libpng.c +++ b/images/io-libpng.c @@ -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)