mux: cosmetics

group like parameters together in prototypes, comments, move variable
declarations closer to first use.

Change-Id: Idd6bd87d0366d783fed83f4dd21bd7968cbe6948
This commit is contained in:
James Zern
2012-02-17 15:13:09 -08:00
parent de556b6866
commit 506a4af2fa
4 changed files with 54 additions and 68 deletions

View File

@ -39,12 +39,8 @@ const ChunkInfo kChunks[] = {
void ChunkInit(WebPChunk* const chunk) {
assert(chunk);
memset(chunk, 0, sizeof(*chunk));
chunk->tag_ = NIL_TAG;
chunk->data_ = NULL;
chunk->payload_size_ = 0;
chunk->owner_ = 0;
chunk->image_info_ = NULL;
chunk->next_ = NULL;
}
WebPChunk* ChunkRelease(WebPChunk* const chunk) {