Merge "muxread,MuxGet: add an assert" into main

This commit is contained in:
James Zern 2024-03-22 01:01:04 +00:00 committed by Gerrit Code Review
commit 955a3d14ae

View File

@ -37,6 +37,7 @@
static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx,
uint32_t nth, WebPData* const data) {
assert(mux != NULL);
assert(idx != IDX_LAST_CHUNK);
assert(!IsWPI(kChunks[idx].id));
WebPDataInit(data);