remove unused 'has_alpha' from VP8GetInfo() signature

alpha information is not to be found at RIFF chunks level, not
in the VP8 bitstream (that was a tmp hack)

Change-Id: Idd1629c696b03c26f6f30650d7216f627f1761df
This commit is contained in:
Pascal Massimino
2011-12-08 06:39:53 -08:00
parent 08e865822a
commit f62d2c9497
5 changed files with 7 additions and 14 deletions

View File

@ -166,7 +166,7 @@ static WebPImageInfo* CreateImageInfo(uint32_t x_offset, uint32_t y_offset,
int height;
WebPImageInfo* image_info = NULL;
if (!VP8GetInfo(data, size, size, &width, &height, NULL)) {
if (!VP8GetInfo(data, size, size, &width, &height)) {
return NULL;
}
@ -1298,7 +1298,7 @@ static WebPMuxError GetImageCanvasHeightWidth(const WebPMux* const mux,
const WebPChunk* const image_chunk = wpi->vp8_;
assert(image_chunk != NULL);
if (VP8GetInfo(image_chunk->data_, image_chunk->payload_size_,
image_chunk->payload_size_, &w, &h, NULL)) {
image_chunk->payload_size_, &w, &h)) {
*width = w;
*height = h;
}