libwebpenc: use WebPMemoryWriterClear()
authorJames Almer <jamrial@gmail.com>
Tue, 16 Jun 2015 16:27:20 +0000 (17:27 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 17 Jun 2015 13:13:43 +0000 (14:13 +0100)
commit1e79d5c6e73ad131f9395f337b58a2b59ee04c1b
treeb197a8fc77a2909f37bb40105317af3aff032ddc
parentd8d124eebcf2ec1f6a1936b12a4f00a48f08e85c
libwebpenc: use WebPMemoryWriterClear()

WebPMemoryWriterClear() must be used instead of free() when
libwebp ABI version is > 0x0203.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/libwebpenc.c