mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-06 08:56:48 +02: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,
|
static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx,
|
||||||
uint32_t nth, WebPData* const data) {
|
uint32_t nth, WebPData* const data) {
|
||||||
assert(mux != NULL);
|
assert(mux != NULL);
|
||||||
|
assert(idx != IDX_LAST_CHUNK);
|
||||||
assert(!IsWPI(kChunks[idx].id));
|
assert(!IsWPI(kChunks[idx].id));
|
||||||
WebPDataInit(data);
|
WebPDataInit(data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user