pub const DEFAULT_MAX_PROBE_BYTES: u64 = _; // 5_242_880u64Expand description
Default ceiling on the bytes libavformat may read while probing
and analysing a container — 5 MiB, which is FFmpeg’s own
probesize default.
What this seat is for, and what it is not. Every other budget in
this crate bounds a copy this crate makes. This one bounds work
libavformat does before this crate is handed anything:
avformat_open_input and avformat_find_stream_info build the
attached-picture, extradata and coded-side-data buffers themselves,
so the attachment budgets — which measure this crate’s copies —
arrive after the original allocation has already happened.
A parser cannot allocate from bytes it was never given, so bounding
the read is the instrument that reaches furthest back. See
DemuxLimits::max_probe_bytes for how far it actually reaches and
what it does not.