From b7551e90e1cb9ab2458083a3ae7df1bad8c112d4 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 3 Dec 2015 00:34:15 -0800 Subject: [PATCH] cosmetics: fix indent Change-Id: I67e5a0308a964bc37b2314d96f3691fc0550e9bc --- src/demux/anim_decode.c | 2 +- src/dsp/lossless_enc.c | 2 +- src/webp/mux.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/demux/anim_decode.c b/src/demux/anim_decode.c index adf84cd1..aafab8d6 100644 --- a/src/demux/anim_decode.c +++ b/src/demux/anim_decode.c @@ -51,7 +51,7 @@ static void DefaultDecoderOptions(WebPAnimDecoderOptions* const dec_options) { } int WebPAnimDecoderOptionsInitInternal(WebPAnimDecoderOptions* dec_options, - int abi_version) { + int abi_version) { if (dec_options == NULL || WEBP_ABI_IS_INCOMPATIBLE(abi_version, WEBP_DEMUX_ABI_VERSION)) { return 0; diff --git a/src/dsp/lossless_enc.c b/src/dsp/lossless_enc.c index 7447f08e..f15da1d7 100644 --- a/src/dsp/lossless_enc.c +++ b/src/dsp/lossless_enc.c @@ -580,7 +580,7 @@ double VP8LHistogramEstimateBits(const VP8LHistogram* const p) { double VP8LHistogramEstimateBitsBulk(const VP8LHistogram* const p) { return VP8LBitsEntropy(p->literal_, VP8LHistogramNumCodes(p->palette_code_bits_), - NULL) + NULL) + VP8LBitsEntropy(p->red_, NUM_LITERAL_CODES, NULL) + VP8LBitsEntropy(p->blue_, NUM_LITERAL_CODES, NULL) + VP8LBitsEntropy(p->alpha_, NUM_LITERAL_CODES, NULL) diff --git a/src/webp/mux.h b/src/webp/mux.h index 1fddfb76..b72658c7 100644 --- a/src/webp/mux.h +++ b/src/webp/mux.h @@ -462,7 +462,7 @@ WEBP_EXTERN(WebPAnimEncoder*) WebPAnimEncoderNewInternal( // Parameters: // width/height - (in) canvas width and height of the animation. // enc_options - (in) encoding options; can be passed NULL to pick -// reasonable defaults. +// reasonable defaults. // Returns: // A pointer to the newly created WebPAnimEncoder object. // Or NULL in case of memory error.