diff --git a/man/cwebp.1 b/man/cwebp.1 index 0d7c1a63..d4ccc568 100644 --- a/man/cwebp.1 +++ b/man/cwebp.1 @@ -141,12 +141,12 @@ Specify a pre-processing filter. This option is a placeholder and has currently no effect. .TP .B \-alpha_filter string -Specify the predictive filtering method for alpha plane. One of 'none', 'fast' -or 'best', in increasing complexity and slowness order. Default is 'fast'. -Internally, alpha filtering is performed using four possible predictions (none, -horizontal, vertical, gradient). The 'best' mode will try each modes in turn and -pick the one which gives the smaller size. The 'fast' mode will just try to -form an a-priori guess without testing all modes. +Specify the predictive filtering method for the alpha plane. One of 'none', +\&'fast' or 'best', in increasing complexity and slowness order. Default is +\&'fast'. Internally, alpha filtering is performed using four possible +predictions (none, horizontal, vertical, gradient). The 'best' mode will try +each mode in turn and pick the one which gives the smaller size. The 'fast' +mode will just try to form an a-priori guess without testing all modes. .TP .B \-alpha_method int Specify the algorithm used for alpha compression: 0 or 1. Algorithm 0 denotes diff --git a/src/mux/muxi.h b/src/mux/muxi.h index 96b166e3..f10d4cf8 100644 --- a/src/mux/muxi.h +++ b/src/mux/muxi.h @@ -135,7 +135,7 @@ WebPChunk* ChunkSearchList(WebPChunk* first, uint32_t nth, uint32_t tag); // Fill the chunk with the given data. WebPMuxError ChunkAssignData(WebPChunk* chunk, const WebPData* const data, - int copy_data, uint32_t tag); + int copy_data, uint32_t tag); // Sets 'chunk' at nth position in the 'chunk_list'. // nth = 0 has the special meaning "last of the list". diff --git a/src/mux/muxinternal.c b/src/mux/muxinternal.c index 46c4f8b1..3902f729 100644 --- a/src/mux/muxinternal.c +++ b/src/mux/muxinternal.c @@ -122,7 +122,7 @@ static int ChunkSearchListToSet(WebPChunk** chunk_list, uint32_t nth, // Chunk writer methods. WebPMuxError ChunkAssignData(WebPChunk* chunk, const WebPData* const data, - int copy_data, uint32_t tag) { + int copy_data, uint32_t tag) { // For internally allocated chunks, always copy data & make it owner of data. if (tag == kChunks[IDX_VP8X].tag || tag == kChunks[IDX_LOOP].tag) { copy_data = 1; diff --git a/src/mux/muxread.c b/src/mux/muxread.c index dd94fab4..534c5590 100644 --- a/src/mux/muxread.c +++ b/src/mux/muxread.c @@ -52,8 +52,8 @@ static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx, // verifications. static WebPMuxError ChunkVerifyAndAssignData(WebPChunk* chunk, const uint8_t* data, - size_t data_size, size_t riff_size, - int copy_data) { + size_t data_size, size_t riff_size, + int copy_data) { uint32_t chunk_size; WebPData chunk_data;