mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(mpng) Cleanups
This commit is contained in:
parent
6bb81b59d5
commit
2596e1c0f6
@ -515,11 +515,11 @@ bool png_decode(const void * pngdata, size_t pnglen, struct mpng_image * img, en
|
||||
} while(i);
|
||||
}
|
||||
|
||||
img->width=width;
|
||||
img->height=height;
|
||||
img->pixels=out;
|
||||
img->pitch=videofmt_byte_per_pixel(format)*width;
|
||||
img->format=format;
|
||||
img->width = width;
|
||||
img->height = height;
|
||||
img->pixels = out;
|
||||
img->pitch = videofmt_byte_per_pixel(format)*width;
|
||||
img->format = format;
|
||||
tinfl_deinit(&inflator);
|
||||
free(pixels);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user