X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Fio-libungif.c;h=7e6038945627a9ed47e3ed62d00c3b7814fb3577;hb=0ca8c151f5afe1680e98f3bfbe9d5c752d8a2924;hp=ac0f51f29b4e94a2892264dbce61e35f9163e93e;hpb=6653d0a752dd937152fa66f1725fab42edc25b8a;p=libucw.git diff --git a/images/io-libungif.c b/images/io-libungif.c index ac0f51f2..7e603894 100644 --- a/images/io-libungif.c +++ b/images/io-libungif.c @@ -9,13 +9,13 @@ #undef LOCAL_DEBUG -#include "ucw/lib.h" -#include "ucw/mempool.h" -#include "ucw/fastbuf.h" -#include "images/images.h" -#include "images/error.h" -#include "images/color.h" -#include "images/io-main.h" +#include +#include +#include +#include +#include +#include +#include #include @@ -202,7 +202,7 @@ libungif_read_data(struct image_io *io) # define IMAGE_WALK_ROW_STEP 0 # define IMAGE_WALK_DO_STEP do{ *walk_pos = pal[*pixels++]; }while(0) # define IMAGE_WALK_DO_ROW_END DO_ROW_END -# include "images/image-walk.h" +# include break; } case 2: @@ -225,7 +225,7 @@ libungif_read_data(struct image_io *io) # define IMAGE_WALK_ROW_STEP 0 # define IMAGE_WALK_DO_STEP do{ *(u16 *)walk_pos = ((u16 *)pal)[*pixels++]; }while(0) # define IMAGE_WALK_DO_ROW_END DO_ROW_END -# include "images/image-walk.h" +# include break; } case 3: @@ -253,7 +253,7 @@ libungif_read_data(struct image_io *io) # define IMAGE_WALK_ROW_STEP 0 # define IMAGE_WALK_DO_STEP do{ byte *p = pal + 4 * (*pixels++); walk_pos[0] = p[0]; walk_pos[1] = p[1]; walk_pos[2] = p[2]; }while(0) # define IMAGE_WALK_DO_ROW_END DO_ROW_END -# include "images/image-walk.h" +# include break; } case 4: @@ -278,7 +278,7 @@ libungif_read_data(struct image_io *io) # define IMAGE_WALK_ROW_STEP 0 # define IMAGE_WALK_DO_STEP do{ *(u32 *)walk_pos = ((u32 *)pal)[*pixels++]; }while(0) # define IMAGE_WALK_DO_ROW_END DO_ROW_END -# include "images/image-walk.h" +# include break; } default: