Searched refs:MAX_CHUNK_PAYLOAD (Results 1 – 9 of 9) sorted by relevance
85 #define MAX_CHUNK_PAYLOAD (~0U - CHUNK_HEADER_SIZE - 1) macro
71 if (size > MAX_CHUNK_PAYLOAD) { in ParseRIFF()178 if (chunk_size > MAX_CHUNK_PAYLOAD) { in ParseOptionalChunks()358 if (hdrs.compressed_size > MAX_CHUNK_PAYLOAD) { in ParseHeadersInternal()395 assert((uint64_t)(data - headers->data) < MAX_CHUNK_PAYLOAD); in ParseHeadersInternal()
174 if (data_size > MAX_CHUNK_PAYLOAD) { in AppendToMemBuffer()
152 assert(data_size < MAX_CHUNK_PAYLOAD); in ChunkDiskSize()
183 chunk_data->bytes == NULL || chunk_data->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetChunk()240 bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetImage()276 if (bitstream->bytes == NULL || bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxPushFrame()
209 if (riff_size > MAX_CHUNK_PAYLOAD || riff_size > size) { in WebPMuxCreateInternal()
227 if (payload_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in StoreFrame()378 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader()449 if (chunk_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8XChunks()536 if (vp8x_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()
172 #define MAX_CHUNK_PAYLOAD (~0U-CHUNK_HEADER_SIZE-1) in IsWEBPImageLossless() macro193 if (chunk_size > MAX_CHUNK_PAYLOAD) in IsWEBPImageLossless()