15#define MP4FRAG_MAX_FRAGS 64
int mp4frag_scan(wired_span file, mp4frag_layout *out)
Scan file's top-level boxes into *out.
#define MP4FRAG_MAX_FRAGS
Fixed capacity: media fragments one file may hold.
Definition mp4frag.h:15
Value-type views that fold the SDK's recurring argument shapes into single parameters,...
Result of mp4frag_scan: init is ftyp up to and including moov; frags[i] spans the i-th moof and the m...
Definition mp4frag.h:20
wired_span init
ftyp..moov inclusive
Definition mp4frag.h:21
wired_span frags[MP4FRAG_MAX_FRAGS]
each moof+mdat pair
Definition mp4frag.h:22
usz n_frags
fragments found
Definition mp4frag.h:23
Read-only view of a byte range.
Definition span.h:30
u64 usz
unsigned size (size_t equivalent)
Definition types.h:20