| 1028 | } |
| 1029 | |
| 1030 | PNG_INFO *PNG_info_new() |
| 1031 | { |
| 1032 | PNG_INFO *info = png_alloc_malloc(sizeof (PNG_INFO)); |
| 1033 | UINT32 i; |
| 1034 | for (i = 0; i < sizeof (PNG_INFO); i++) |
| 1035 | ((UINT8 *) info)[i] = 0; |
| 1036 | info->palette = vector8_new(0, 0); |
| 1037 | info->image = vector8_new(0, 0); |
| 1038 | return info; |
| 1039 | } |
| 1040 | |
| 1041 | PNG_INFO *PNG_decode(/* const*/ UINT8 *in, UINT32 size) |
| 1042 | { |
no test coverage detected