mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
ErrorStatusLossless: correct return type
int -> VP8StatusCode Change-Id: I8a224a622e98d401a6e401047780fa6b25cb0ae4
This commit is contained in:
parent
cb261f790f
commit
b524e3369c
@ -484,7 +484,8 @@ static VP8StatusCode DecodeRemaining(WebPIDecoder* const idec) {
|
||||
return VP8_STATUS_OK;
|
||||
}
|
||||
|
||||
static int ErrorStatusLossless(WebPIDecoder* const idec, VP8StatusCode status) {
|
||||
static VP8StatusCode ErrorStatusLossless(WebPIDecoder* const idec,
|
||||
VP8StatusCode status) {
|
||||
if (status == VP8_STATUS_SUSPENDED || status == VP8_STATUS_NOT_ENOUGH_DATA) {
|
||||
return VP8_STATUS_SUSPENDED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user