mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
webpdec: s/ExUtil//
PrintWebPError, LoadWebP, DecodeWebP, DecodeWebPIncremental Change-Id: Ie17578b91c7efdf6e5fe63568a95f79788b7f8ee
This commit is contained in:
@ -799,7 +799,7 @@ int main(int argc, const char *argv[]) {
|
||||
{
|
||||
VP8StatusCode status = VP8_STATUS_OK;
|
||||
size_t data_size = 0;
|
||||
if (!ExUtilLoadWebP(in_file, &data, &data_size, bitstream)) {
|
||||
if (!LoadWebP(in_file, &data, &data_size, bitstream)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -855,14 +855,14 @@ int main(int argc, const char *argv[]) {
|
||||
}
|
||||
|
||||
if (incremental) {
|
||||
status = ExUtilDecodeWebPIncremental(data, data_size, verbose, &config);
|
||||
status = DecodeWebPIncremental(data, data_size, verbose, &config);
|
||||
} else {
|
||||
status = ExUtilDecodeWebP(data, data_size, verbose, &config);
|
||||
status = DecodeWebP(data, data_size, verbose, &config);
|
||||
}
|
||||
|
||||
ok = (status == VP8_STATUS_OK);
|
||||
if (!ok) {
|
||||
ExUtilPrintWebPError(in_file, status);
|
||||
PrintWebPError(in_file, status);
|
||||
goto Exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user