MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / multipleEntriesDecoder

Method multipleEntriesDecoder

src/quicktimevideo.cpp:1286–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284} // QuickTimeVideo::imageDescDecoder
1285
1286void QuickTimeVideo::multipleEntriesDecoder(size_t recursion_depth) {
1287 enforce(recursion_depth < max_recursion_depth_, Exiv2::ErrorCode::kerCorruptedMetadata);
1288 DataBuf buf(4 + 1);
1289 io_->readOrThrow(buf.data(), 4);
1290 io_->readOrThrow(buf.data(), 4);
1291 uint32_t noOfEntries;
1292
1293 noOfEntries = buf.read_uint32(0, bigEndian);
1294
1295 for (uint32_t i = 0; i < noOfEntries && continueTraversing_; i++) {
1296 decodeBlock(recursion_depth + 1);
1297 }
1298} // QuickTimeVideo::multipleEntriesDecoder
1299
1300void QuickTimeVideo::videoHeaderDecoder(size_t size) {
1301 DataBuf buf(3);

Callers

nothing calls this directly

Calls 4

enforceFunction · 0.85
readOrThrowMethod · 0.80
dataMethod · 0.80
read_uint32Method · 0.80

Tested by

no test coverage detected