pub const DEFAULT_MAX_STREAMS: u32 = 1000;Expand description
Default ceiling on the number of streams a container may declare —
FFmpeg’s own max_streams default.
Each declared stream costs an AVStream and its AVCodecParameters
inside libavformat, before this crate sees a track table, so a
header claiming a hundred thousand streams is an allocation this
crate’s per-track budgets are downstream of.