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()
175 if (data_size > MAX_CHUNK_PAYLOAD) { in AppendToMemBuffer()
150 assert(chunk_size <= MAX_CHUNK_PAYLOAD); in SizeWithPadding()
183 chunk_data->bytes == NULL || chunk_data->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetChunk()240 bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetImage()276 info->bitstream.size > MAX_CHUNK_PAYLOAD) { in WebPMuxPushFrame()
62 if (chunk_size > MAX_CHUNK_PAYLOAD) return WEBP_MUX_BAD_DATA; in ChunkVerifyAndAssign()216 if (riff_size > MAX_CHUNK_PAYLOAD) goto Err; in WebPMuxCreateInternal()
229 if (payload_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in StoreFrame()385 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader()456 if (chunk_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8XChunks()543 if (vp8x_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()
179 #define MAX_CHUNK_PAYLOAD (~0U-CHUNK_HEADER_SIZE-1) in IsWEBPImageLossless() macro202 if (chunk_size > MAX_CHUNK_PAYLOAD) in IsWEBPImageLossless()