| Index: third_party/libwebp/enc/syntax_enc.c
|
| diff --git a/third_party/libwebp/enc/syntax.c b/third_party/libwebp/enc/syntax_enc.c
|
| similarity index 99%
|
| rename from third_party/libwebp/enc/syntax.c
|
| rename to third_party/libwebp/enc/syntax_enc.c
|
| index a0e79ef404735b2b25bab97f9fa082ddc2c23c23..90665bd7e5a0f87ba1ced4fba9ef11bb00adbffd 100644
|
| --- a/third_party/libwebp/enc/syntax.c
|
| +++ b/third_party/libwebp/enc/syntax_enc.c
|
| @@ -16,7 +16,7 @@
|
| #include "../utils/utils.h"
|
| #include "../webp/format_constants.h" // RIFF constants
|
| #include "../webp/mux_types.h" // ALPHA_FLAG
|
| -#include "./vp8enci.h"
|
| +#include "./vp8i_enc.h"
|
|
|
| //------------------------------------------------------------------------------
|
| // Helper functions
|
| @@ -362,8 +362,7 @@ int VP8EncWrite(VP8Encoder* const enc) {
|
| for (p = 0; p < enc->num_parts_; ++p) {
|
| const uint8_t* const buf = VP8BitWriterBuf(enc->parts_ + p);
|
| const size_t size = VP8BitWriterSize(enc->parts_ + p);
|
| - if (size)
|
| - ok = ok && pic->writer(buf, size, pic);
|
| + if (size) ok = ok && pic->writer(buf, size, pic);
|
| VP8BitWriterWipeOut(enc->parts_ + p); // will free the internal buffer.
|
| ok = ok && WebPReportProgress(pic, enc->percent_ + percent_per_part,
|
| &enc->percent_);
|
|
|