encode.h: note the need to free() WebPMemoryWriter

Change-Id: Iec873764e9f4c085c634498630b8c1ced3283984
This commit is contained in:
James Zern 2013-02-01 19:18:47 -08:00
parent 12d6cecfbd
commit 7defbfadbe

View File

@ -214,6 +214,7 @@ WEBP_EXTERN(void) WebPMemoryWriterInit(WebPMemoryWriter* writer);
// The custom writer to be used with WebPMemoryWriter as custom_ptr. Upon
// completion, writer.mem and writer.size will hold the coded data.
// writer.mem must be freed using the call 'free(writer.mem)'.
WEBP_EXTERN(int) WebPMemoryWrite(const uint8_t* data, size_t data_size,
const WebPPicture* picture);