45 unsigned v = le ? bytestream2_get_le16(gb) : bytestream2_get_be16(gb);
52 unsigned v = le ? bytestream2_get_le32(gb) : bytestream2_get_be32(gb);
59 av_alias64 i = { .u64 = le ? bytestream2_get_le64(gb) : bytestream2_get_be64(gb)};
68 return bytestream2_get_byte(gb);
78 static const char *
auto_sep(
int count,
const char *sep,
int i,
int columns)
85 return columns < count ?
"\n" :
"";
96 if (count >= INT_MAX /
sizeof(int64_t) || count <= 0)
103 for (i = 0; i <
count; i++) {
129 if (count >= INT_MAX /
sizeof(
int32_t) || count <= 0)
136 for (i = 0; i <
count; i++) {
160 if (count >= INT_MAX /
sizeof(int64_t) || count <= 0)
167 for (i = 0; i <
count; i++) {
191 if (count >= INT_MAX /
sizeof(int16_t) || count <= 0)
198 for (i = 0; i <
count; i++) {
222 if (count >= INT_MAX /
sizeof(int8_t) || count < 0)
229 for (i = 0; i <
count; i++) {
271 *le = bytestream2_get_le16u(gb);
274 }
else if (*le ==
AV_RB16(
"MM")) {
291 unsigned *
count,
int *next)