Fix a compiler warning
This commit is contained in:
parent
13ae4810ca
commit
6a1278786c
3
fiv-io.h
3
fiv-io.h
@ -20,6 +20,7 @@
|
|||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include <webp/encode.h> // WebPConfig
|
||||||
|
|
||||||
// --- Colour management -------------------------------------------------------
|
// --- Colour management -------------------------------------------------------
|
||||||
|
|
||||||
@ -103,8 +104,6 @@ GPtrArray *fiv_io_model_get_subdirectories(FivIoModel *self);
|
|||||||
|
|
||||||
// --- Export ------------------------------------------------------------------
|
// --- Export ------------------------------------------------------------------
|
||||||
|
|
||||||
typedef struct WebPConfig WebPConfig;
|
|
||||||
|
|
||||||
/// Encodes a Cairo surface as a WebP bitstream, following the configuration.
|
/// Encodes a Cairo surface as a WebP bitstream, following the configuration.
|
||||||
/// The result needs to be freed using WebPFree/WebPDataClear().
|
/// The result needs to be freed using WebPFree/WebPDataClear().
|
||||||
unsigned char *fiv_io_encode_webp(
|
unsigned char *fiv_io_encode_webp(
|
||||||
|
Loading…
Reference in New Issue
Block a user