Temporarily disable encoding of alpha plane with color cache.

This is to avoid triggering the related decoder bug.

Change-Id: I8fa074a5393bcd62aa4a2232cd4e02935e927a89
This commit is contained in:
Urvang Joshi
2015-01-28 15:28:02 -08:00
parent 1d575ccd4e
commit 2db15a9583
3 changed files with 14 additions and 8 deletions

View File

@ -64,9 +64,10 @@ int VP8LEncodeImage(const WebPConfig* const config,
const WebPPicture* const picture);
// Encodes the main image stream using the supplied bit writer.
// If 'use_cache' is false, disables the use of color cache.
WebPEncodingError VP8LEncodeStream(const WebPConfig* const config,
const WebPPicture* const picture,
VP8LBitWriter* const bw);
VP8LBitWriter* const bw, int use_cache);
//------------------------------------------------------------------------------