Searched refs:SizeIsInvalid (Results 1 – 1 of 1) sorted by relevance
130 static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { in SizeIsInvalid() function228 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame()295 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()398 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()450 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8XChunks()539 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()552 if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; in ParseVP8X()