35 if (
avio_read(s, *g,
sizeof(*g)) < (
int)
sizeof(*g)) {
36 memset(*g, 0,
sizeof(*g));
69 if (!memcmp(subformat + 4,
107 cbSize =
FFMIN(size, cbSize);
108 if (cbSize >= 22 &&
id == 0xfffe) {
195 if (chunk_code || chunk_size) {
201 if (chunk_size > end ||
202 end - chunk_size < cur ||
203 chunk_size == UINT_MAX) {
207 if (chunk_size > end || end - chunk_size < cur || chunk_size == UINT_MAX) {
213 chunk_size += (chunk_size & 1);
228 "out of memory, unable to read INFO tag\n");
234 if (
avio_read(pb, value, chunk_size) != chunk_size) {
236 "premature end of file while reading INFO tag\n");