mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
decode.h,WebPGetInfo: normalize function comment
use true/false to match the documentation of other functions. Change-Id: If059f8fb6d771a165e4682495fd8881b3dc0670f
This commit is contained in:
parent
9e8e1b7b2a
commit
38063af131
@ -39,8 +39,8 @@ typedef struct WebPDecoderConfig WebPDecoderConfig;
|
||||
WEBP_EXTERN(int) WebPGetDecoderVersion(void);
|
||||
|
||||
// Retrieve basic header information: width, height.
|
||||
// This function will also validate the header and return 0 in
|
||||
// case of formatting error.
|
||||
// This function will also validate the header, returning true on success,
|
||||
// false otherwise. '*width' and '*height' are only valid on successful return.
|
||||
// Pointers 'width' and 'height' can be passed NULL if deemed irrelevant.
|
||||
WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
|
Loading…
Reference in New Issue
Block a user