mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Fix compilation
svn path=/trunk/netsurf/; revision=12118
This commit is contained in:
parent
63416f3332
commit
0d534e8c47
@ -46,14 +46,13 @@ bool webp_convert(struct content *c)
|
||||
union content_msg_data msg_data;
|
||||
const uint8_t *data;
|
||||
unsigned char *imagebuf = NULL;
|
||||
uint32_t *imagebufptr = NULL;
|
||||
unsigned long size;
|
||||
int width = 0, height = 0;
|
||||
char title[100];
|
||||
int res = 0;
|
||||
uint8_t *res_p = NULL;
|
||||
|
||||
data = (uint8 *)content__get_source_data(c, &size);
|
||||
data = (uint8_t *)content__get_source_data(c, &size);
|
||||
|
||||
res = WebPGetInfo(data, size, &width, &height);
|
||||
if (res == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user