| 1442 | |
| 1443 | #ifndef STBI_NO_GIF |
| 1444 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) |
| 1445 | { |
| 1446 | unsigned char *result; |
| 1447 | stbi__context s; |
| 1448 | stbi__start_mem(&s,buffer,len); |
| 1449 | |
| 1450 | result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp); |
| 1451 | if (stbi__vertically_flip_on_load) { |
| 1452 | stbi__vertical_flip_slices( result, *x, *y, *z, *comp ); |
| 1453 | } |
| 1454 | |
| 1455 | return result; |
| 1456 | } |
| 1457 | #endif |
| 1458 | |
| 1459 | #ifndef STBI_NO_LINEAR |
nothing calls this directly
no test coverage detected