32 reader.stream()->seekg(1, ios_base::cur);
39 std::uint8_t spsEntryCount = reader.readByte() & 0x0f;
40 std::uint8_t ignoredSpsEntries = 0;
42 for (; spsEntryCount; --spsEntryCount) {
49 reader, maxSize > numeric_limits<std::uint32_t>::max() ? numeric_limits<std::uint32_t>::max() :
static_cast<std::uint32_t
>(maxSize));
66 std::uint8_t ppsEntryCount = reader.readByte();
67 std::uint8_t ignoredPpsEntries = 0;
69 for (; ppsEntryCount; --ppsEntryCount) {
76 reader, maxSize > numeric_limits<std::uint32_t>::max() ? numeric_limits<std::uint32_t>::max() :
static_cast<std::uint32_t
>(maxSize));
93 if (ignoredSpsEntries || ignoredPpsEntries) {
96 "Ignored ", ignoredSpsEntries,
" SPS entries and ", ignoredPpsEntries,
" PPS entries. This AVC config is likely just not supported."),
97 "parsing AVC config");