1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/video/image_loader.h
wm4 9127939071 x11: load icon differently
Now it's sourced from the etc/ PNG files directly, instead of
preprocessing them with imagemagick.

Add some ad-hoc code to decode PNG files with libavcodec. At least we
can drop the zlib code in exchange.
2017-07-01 15:56:12 +02:00

10 lines
184 B
C

#ifndef MP_IMAGE_LOADER_H_
#define MP_IMAGE_LOADER_H_
#include <stddef.h>
struct mp_image;
struct mp_image *load_image_png_buf(void *buffer, size_t buffer_size, int imgfmt);
#endif