diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-21 20:28:33 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-21 20:28:33 +0000 |
commit | 0d534e8c4716a04f1b433a5bbec60a4224af7006 (patch) | |
tree | 84b1648589ffcd343b531d122a947407e33063c1 /image | |
parent | 63416f3332638e2c7279ef87285d231e80abfa9b (diff) | |
download | netsurf-0d534e8c4716a04f1b433a5bbec60a4224af7006.tar.gz netsurf-0d534e8c4716a04f1b433a5bbec60a4224af7006.tar.bz2 |
Fix compilation
svn path=/trunk/netsurf/; revision=12118
Diffstat (limited to 'image')
-rw-r--r-- | image/webp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/image/webp.c b/image/webp.c index 42f8ece04..439bdfc9b 100644 --- a/image/webp.c +++ b/image/webp.c @@ -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) { |