Ejemplo n.º 1
0
static WebPMuxError DeleteFrameTileInternal(WebPMux* const mux, uint32_t nth,
                                            CHUNK_INDEX idx) {
  const WebPChunkId id = kChunks[idx].id;
  if (mux == NULL) return WEBP_MUX_INVALID_ARGUMENT;

  assert(idx == IDX_FRAME || idx == IDX_TILE);
  return MuxImageDeleteNth(&mux->images_, nth, id);
}
Ejemplo n.º 2
0
WebPMuxError WebPMuxDeleteFrame(WebPMux* mux, uint32_t nth) {
  if (mux == NULL) return WEBP_MUX_INVALID_ARGUMENT;
  return MuxImageDeleteNth(&mux->images_, nth);
}