Cosmetic: "width * height"

Change-Id: I567c0d95355160a9f6721f949b38e2b8b6270b7a
This commit is contained in:
Urvang Joshi 2013-05-10 13:39:58 -07:00
parent 1153f888c9
commit 3ef79fefec

View File

@ -60,7 +60,7 @@ static int DecodeAlpha(const uint8_t* data, size_t data_size,
}
if (method == ALPHA_NO_COMPRESSION) {
const size_t alpha_decoded_size = height * width;
const size_t alpha_decoded_size = width * height;
ok = (alpha_data_size >= alpha_decoded_size);
if (ok) memcpy(output, alpha_data, alpha_decoded_size);
} else {