From 38063af131bf3d53b03188858ad1e86dec7b92cf Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 22 Jun 2016 19:18:20 +0000 Subject: [PATCH] decode.h,WebPGetInfo: normalize function comment use true/false to match the documentation of other functions. Change-Id: If059f8fb6d771a165e4682495fd8881b3dc0670f --- src/webp/decode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webp/decode.h b/src/webp/decode.h index b00d15b3..8a60351e 100644 --- a/src/webp/decode.h +++ b/src/webp/decode.h @@ -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);