| Index: third_party/libwebp/enc/webpenc.c
|
| diff --git a/third_party/libwebp/enc/webpenc.c b/third_party/libwebp/enc/webpenc.c
|
| index 20fbac4d02098e6e01b4d8ce77fd1ad74c7d7fc7..d420d063eab51ba99b445bb92170df0c1a7caf69 100644
|
| --- a/third_party/libwebp/enc/webpenc.c
|
| +++ b/third_party/libwebp/enc/webpenc.c
|
| @@ -1,8 +1,10 @@
|
| // Copyright 2011 Google Inc. All Rights Reserved.
|
| //
|
| -// This code is licensed under the same terms as WebM:
|
| -// Software License Agreement: http://www.webmproject.org/license/software/
|
| -// Additional IP Rights Grant: http://www.webmproject.org/license/additional/
|
| +// Use of this source code is governed by a BSD-style license
|
| +// that can be found in the COPYING file in the root of the source
|
| +// tree. An additional intellectual property rights grant can be found
|
| +// in the file PATENTS. All contributing project authors may
|
| +// be found in the AUTHORS file in the root of the source tree.
|
| // -----------------------------------------------------------------------------
|
| //
|
| // WebP encoder: main entry point
|
| @@ -386,9 +388,9 @@ int WebPEncode(const WebPConfig* config, WebPPicture* pic) {
|
| // Analysis is done, proceed to actual coding.
|
| ok = ok && VP8EncStartAlpha(enc); // possibly done in parallel
|
| if (!enc->use_tokens_) {
|
| - ok = VP8EncLoop(enc);
|
| + ok = ok && VP8EncLoop(enc);
|
| } else {
|
| - ok = VP8EncTokenLoop(enc);
|
| + ok = ok && VP8EncTokenLoop(enc);
|
| }
|
| ok = ok && VP8EncFinishAlpha(enc);
|
| #ifdef WEBP_EXPERIMENTAL_FEATURES
|
|
|