fix alpha decode

- remove left-over WEBP_EXPERIMENTAL_FEATURES #ifdef

Change-Id: I2b91ccd2e2b3ebea63d5f698f90206feec30a4db
This commit is contained in:
James Zern 2011-12-01 15:59:08 -08:00
parent 60942c8cea
commit 721f3f48e7

View File

@ -365,7 +365,6 @@ int VP8FinishRow(VP8Decoder* const dec, VP8Io* io) {
y_end = io->crop_bottom; // make sure we don't overflow on last row.
}
io->a = NULL;
#ifdef WEBP_EXPERIMENTAL_FEATURES
if (dec->alpha_data_) {
io->a = VP8DecompressAlphaRows(dec, y_start, y_end - y_start);
if (io->a == NULL) {
@ -373,7 +372,6 @@ int VP8FinishRow(VP8Decoder* const dec, VP8Io* io) {
"Could not decode alpha data.");
}
}
#endif
if (y_start < io->crop_top) {
const int delta_y = io->crop_top - y_start;
y_start = io->crop_top;