mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Merge "muxread,MuxGet: add an assert" into main
This commit is contained in:
commit
955a3d14ae
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user