muxread: remove unreachable code
IDX_UNKNOWN chunks are handled separately in WebPMuxGetChunk() Change-Id: Iaa0d3a1cd1080264c27671637551f52f71d73b07
This commit is contained in:
parent
e50650c77f
commit
50ec3ab790
@ -43,7 +43,7 @@ static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx,
|
|||||||
SWITCH_ID_LIST(IDX_ANIM, mux->anim_);
|
SWITCH_ID_LIST(IDX_ANIM, mux->anim_);
|
||||||
SWITCH_ID_LIST(IDX_EXIF, mux->exif_);
|
SWITCH_ID_LIST(IDX_EXIF, mux->exif_);
|
||||||
SWITCH_ID_LIST(IDX_XMP, mux->xmp_);
|
SWITCH_ID_LIST(IDX_XMP, mux->xmp_);
|
||||||
SWITCH_ID_LIST(IDX_UNKNOWN, mux->unknown_);
|
assert(idx != IDX_UNKNOWN);
|
||||||
return WEBP_MUX_NOT_FOUND;
|
return WEBP_MUX_NOT_FOUND;
|
||||||
}
|
}
|
||||||
#undef SWITCH_ID_LIST
|
#undef SWITCH_ID_LIST
|
||||||
|
Loading…
Reference in New Issue
Block a user