Mux: Add WebPDataInit() and remove WebPImageInfo

Change-Id: If661f7d198e284a103a53a451e9f74805119fcf9
This commit is contained in:
Urvang Joshi
2012-07-06 14:29:35 +05:30
parent 8130c4cc64
commit 857650c8fc
4 changed files with 29 additions and 39 deletions

View File

@ -37,7 +37,7 @@ static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx,
uint32_t nth, WebPData* const data) {
assert(mux != NULL);
assert(!IsWPI(kChunks[idx].id));
memset(data, 0, sizeof(*data));
WebPDataInit(data);
SWITCH_ID_LIST(IDX_VP8X, mux->vp8x_);
SWITCH_ID_LIST(IDX_ICCP, mux->iccp_);