X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpng.c;h=d917cbd10be40e646a79fae68c2448c271cf0719;hp=b899d989d135d8da3e7b9a384191fc2d564d97e6;hb=f25fd347b67d4f6cb2076c2a4455a6ff55a4b61a;hpb=b2b02120bcfd17bc5733769f9e0591dfb6329429 diff --git a/lib/png.c b/lib/png.c index b899d98..d917cbd 100644 --- a/lib/png.c +++ b/lib/png.c @@ -1513,11 +1513,11 @@ static int png_apply_filter(unsigned char*dest, unsigned char*src, int width, in int png_apply_filter_8(unsigned char*dest, unsigned char*src, int width, int y) { - png_apply_filter(dest, src, width, y, 8); + return png_apply_filter(dest, src, width, y, 8); } int png_apply_filter_32(unsigned char*dest, unsigned char*src, int width, int y) { - png_apply_filter(dest, src, width, y, 32); + return png_apply_filter(dest, src, width, y, 32); } EXPORT void savePNG(const char*filename, unsigned char*data, int width, int height, int numcolors)