| 124 | } |
| 125 | |
| 126 | bool ParserAVFormat::parseExtradata_generic(ByteVector &extradata) |
| 127 | { |
| 128 | if (extradata.empty() || !packetModel->rootItem) |
| 129 | return true; |
| 130 | |
| 131 | SubByteReaderLogging reader(extradata, packetModel->rootItem, "Extradata"); |
| 132 | reader.disableEmulationPrevention(); |
| 133 | unsigned i = 0; |
| 134 | while (reader.canReadBits(8)) |
| 135 | reader.readBytes(formatArray("raw_byte", i++), 1); |
| 136 | |
| 137 | return true; |
| 138 | } |
| 139 | |
| 140 | bool ParserAVFormat::parseExtradata_AVC(ByteVector &extradata) |
| 141 | { |
no test coverage detected