From b9ae4f0d8825a42ad5d9d1f77980b8b99249afc3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 20 Jun 2012 16:02:53 -0700 Subject: [PATCH] cosmetics after mux changes b74ed6e, b494ad5 Change-Id: I8f693b1ba2537de89bda1dfbcf3b95abd17e420a --- examples/webpmux.c | 2 +- src/mux/muxedit.c | 20 ++++++++++---------- src/mux/muxinternal.c | 2 +- src/mux/muxread.c | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/webpmux.c b/examples/webpmux.c index 7fe67703..2dde4fd8 100644 --- a/examples/webpmux.c +++ b/examples/webpmux.c @@ -798,7 +798,7 @@ static int Process(const WebPMuxConfig* config) { ERROR_GOTO1("ERROR: Could not parse frame properties.\n", Err2); } err = WebPMuxPushFrame(mux, &webpdata, x_offset, y_offset, - duration, 1); + duration, 1); WebPDataClear(&webpdata); if (err != WEBP_MUX_OK) { ERROR_GOTO3("ERROR#%d: Could not add a frame at index %d.\n", diff --git a/src/mux/muxedit.c b/src/mux/muxedit.c index 293e769e..16d5746c 100644 --- a/src/mux/muxedit.c +++ b/src/mux/muxedit.c @@ -432,20 +432,20 @@ static WebPMuxError MuxPushFrameTileInternal( } WebPMuxError WebPMuxPushFrame(WebPMux* const mux, - const WebPData* const bitstream, - uint32_t x_offset, uint32_t y_offset, - uint32_t duration, int copy_data) { + const WebPData* const bitstream, + uint32_t x_offset, uint32_t y_offset, + uint32_t duration, int copy_data) { return MuxPushFrameTileInternal(mux, bitstream, x_offset, y_offset, - duration, copy_data, kChunks[IDX_FRAME].tag); + duration, copy_data, kChunks[IDX_FRAME].tag); } WebPMuxError WebPMuxPushTile(WebPMux* const mux, - const WebPData* const bitstream, - uint32_t x_offset, uint32_t y_offset, - int copy_data) { + const WebPData* const bitstream, + uint32_t x_offset, uint32_t y_offset, + int copy_data) { return MuxPushFrameTileInternal(mux, bitstream, x_offset, y_offset, - 1 /* unused duration*/, copy_data, - kChunks[IDX_TILE].tag); + 1 /* unused duration */, copy_data, + kChunks[IDX_TILE].tag); } //------------------------------------------------------------------------------ @@ -493,7 +493,7 @@ WebPMuxError WebPMuxDeleteTile(WebPMux* const mux, uint32_t nth) { // Assembly of the WebP RIFF file. WebPMuxError MuxGetImageWidthHeight(const WebPChunk* const image_chunk, - int* const width, int* const height) { + int* const width, int* const height) { const uint32_t tag = image_chunk->tag_; const WebPData* const data = &image_chunk->data_; int w, h; diff --git a/src/mux/muxinternal.c b/src/mux/muxinternal.c index 1ed0f391..a09f3f35 100644 --- a/src/mux/muxinternal.c +++ b/src/mux/muxinternal.c @@ -331,7 +331,7 @@ WebPMuxError MuxImagePush(const WebPMuxImage* wpi, WebPMuxImage** wpi_list) { if (*wpi_list != NULL) { (*wpi_list)->next_ = new_wpi; } else { - *wpi_list = new_wpi; + *wpi_list = new_wpi; } return WEBP_MUX_OK; } diff --git a/src/mux/muxread.c b/src/mux/muxread.c index 43cdbfc2..e64be69c 100644 --- a/src/mux/muxread.c +++ b/src/mux/muxread.c @@ -382,8 +382,8 @@ static int CountChunks(const WebPChunk* const chunk_list, uint32_t tag) { return count; } -WebPMuxError WebPMuxNumChunks(const WebPMux* const mux, WebPChunkId id, - int* num_elements) { +WebPMuxError WebPMuxNumChunks(const WebPMux* const mux, + WebPChunkId id, int* num_elements) { if (mux == NULL || num_elements == NULL) { return WEBP_MUX_INVALID_ARGUMENT; }