fix typos

Change-Id: Ib83202e639a16d569ce21e7d057fe83817479d61
This commit is contained in:
Pascal Massimino 2011-03-24 16:32:29 -07:00
parent 650ffa3bbb
commit 0de013b3a4

7
README
View File

@ -278,12 +278,12 @@ For instance:
WebPIDecoder* idec = WebPINew(MODE_BGR); WebPIDecoder* idec = WebPINew(MODE_BGR);
As data is made progressively available, this incremental-decoder object As data is made progressively available, this incremental-decoder object
can be use to decode the picture further. There are two (mutually exclusive) can be used to decode the picture further. There are two (mutually exclusive)
ways to pass freshly arrived data: ways to pass freshly arrived data:
either by appending the fresh bytes: either by appending the fresh bytes:
WebPIAppend(idec, new_bytes, size_of_fresh_data); WebPIAppend(idec, fresh_data, size_of_fresh_data);
or by just mentioning the new size of the transmitted data: or by just mentioning the new size of the transmitted data:
@ -296,7 +296,8 @@ These functions will return the decoding status: either VP8_STATUS_SUSPENDED if
decoding is not finished yet, or VP8_STATUS_OK when decoding is done. decoding is not finished yet, or VP8_STATUS_OK when decoding is done.
Any other status is an error condition. Any other status is an error condition.
The idec object must always be released calling: WebPDelete(idec) The idec object must always be released (even upon an error condition)
by calling: WebPDelete(idec)
To retrieve partially decoded picture samples, one must use the corresponding To retrieve partially decoded picture samples, one must use the corresponding
method: WebPIDecGetRGB or WebPIDecGetYUV. method: WebPIDecGetRGB or WebPIDecGetYUV.