mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
Remove some unused enum values.
- WEBP_MUX_INVALID_PARAMETER: was used only at one place, and that too should actually be an assert(). - WEBP_MUX_ERROR: was never used. Change-Id: I8883cb4dfae7a7918507501f21fced0c04dda36a
This commit is contained in:
@ -99,8 +99,7 @@ static WebPMuxError MuxAddChunk(WebPMux* const mux, uint32_t nth, uint32_t tag,
|
||||
const WebPData chunk_data = { data, size };
|
||||
assert(mux != NULL);
|
||||
assert(size <= MAX_CHUNK_PAYLOAD);
|
||||
|
||||
if (idx == IDX_NIL) return WEBP_MUX_INVALID_PARAMETER;
|
||||
assert(idx != IDX_NIL);
|
||||
return MuxSet(mux, idx, nth, &chunk_data, copy_data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user