cmake fixes

This commit is contained in:
Eduardo Bart
2011-05-13 22:28:59 -03:00
parent 5408d333fb
commit 177cc8ba65
2 changed files with 8 additions and 12 deletions

View File

@@ -594,8 +594,6 @@ int load_apng(unsigned char *filedata, unsigned int filesize, struct apng_data *
channels = 2;
else if (coltype == 6)
channels = 4;
if(coltype == 3)
printf("coltype %d w %d h %d\n", coltype, w, h);
pixeldepth = depth*channels;
bpp = (pixeldepth + 7) >> 3;
@@ -878,11 +876,11 @@ int load_apng(unsigned char *filedata, unsigned int filesize, struct apng_data *
return 0;
}
void free_apng(struct apng_data *apng)
{
if(apng->pdata)
free(apng->pdata);
if(apng->frames_delay)
free(apng->frames_delay);
}
}