From e5af49e9c0d55eadeb0c0db1e3c60deb12eaf4b9 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 21 Mar 2013 18:39:56 +0100 Subject: [PATCH] add doc precision about WebPParseHeaders() return codes Change-Id: I970900f4a5abb4877a716bd4eb15939655ef5dad --- src/dec/webpi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dec/webpi.h b/src/dec/webpi.h index 44e57444..9349fcc7 100644 --- a/src/dec/webpi.h +++ b/src/dec/webpi.h @@ -61,10 +61,10 @@ typedef struct { } WebPHeaderStructure; // Skips over all valid chunks prior to the first VP8/VP8L frame header. -// Returns VP8_STATUS_OK on success, -// VP8_STATUS_BITSTREAM_ERROR if an invalid header/chunk is found, and -// VP8_STATUS_NOT_ENOUGH_DATA if case of insufficient data. -// In 'headers', compressed_size, offset, alpha_data, alpha_size and lossless +// Returns: VP8_STATUS_OK, VP8_STATUS_BITSTREAM_ERROR (invalid header/chunk), +// VP8_STATUS_NOT_ENOUGH_DATA (partial input) or VP8_STATUS_UNSUPPORTED_FEATURE +// in the case of non-decodable features (animation for instance). +// In 'headers', compressed_size, offset, alpha_data, alpha_size, and lossless // fields are updated appropriately upon success. VP8StatusCode WebPParseHeaders(WebPHeaderStructure* const headers);