mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
mux: cosmetics
group like parameters together in prototypes, comments, move variable declarations closer to first use. Change-Id: Idd6bd87d0366d783fed83f4dd21bd7968cbe6948
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user