mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 22:09:57 +02:00
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:
@ -289,12 +289,12 @@ int VP8SetError(VP8Decoder* const dec,
|
||||
VP8StatusCode error, const char * const msg);
|
||||
|
||||
// Validates the VP8 data-header and retrieve basic header information viz width
|
||||
// and height. Returns 0 in case of formatting error. *width/*height/*has_alpha
|
||||
// and height. Returns 0 in case of formatting error. *width/*height
|
||||
// can be passed NULL.
|
||||
int VP8GetInfo(const uint8_t* data,
|
||||
uint32_t data_size, // data available so far
|
||||
uint32_t chunk_size, // total data size expect in the chunk
|
||||
int *width, int *height, int *has_alpha);
|
||||
int *width, int *height);
|
||||
|
||||
// in tree.c
|
||||
void VP8ResetProba(VP8Proba* const proba);
|
||||
|
Reference in New Issue
Block a user