webp: ensure that each transform is only used once
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 5 Mar 2015 21:48:28 +0000 (22:48 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 19 Mar 2015 20:03:13 +0000 (21:03 +0100)
commit30e6abd1a8cc4fd5daf2e23ad2e768862c39e975
treef48a3264d92314a88a09d739875912e95f18644e
parentcf18e777aed9f73011c7ab7cbab8003189d4b9d8
webp: ensure that each transform is only used once

According to the WebP Lossless Bitstream Specification
"each transform is allowed to be used only once".

If a transform is more than once this can lead to memory
corruption.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/webp.c