35 if (
avio_read(s, *g,
sizeof(*g)) < (
int)
sizeof(*g)) {
36 memset(*g, 0,
sizeof(*g));
69 if (!memcmp(subformat + 4,
110 cbSize =
FFMIN(size, cbSize);
111 if (cbSize >= 22 &&
id == 0xfffe) {
198 if (chunk_code || chunk_size) {
204 if (chunk_size > end ||
205 end - chunk_size < cur ||
206 chunk_size == UINT_MAX) {
210 if (chunk_size > end || end - chunk_size < cur || chunk_size == UINT_MAX) {
216 chunk_size += (chunk_size & 1);
231 "out of memory, unable to read INFO tag\n");
237 if (
avio_read(pb, value, chunk_size) != chunk_size) {
239 "premature end of file while reading INFO tag\n");