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() function230 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame()297 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()400 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()452 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8XChunks()541 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()554 if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; in ParseVP8X()