mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
the ir option may exceed nbirs because its static range is independent of the configured number of impulse responses. init() only clamps prev_selir, leaving selir able to index ctx->inputs out of range. with the default nbirs=1, afir=ir=1 reads ctx->inputs[2] and crashes. clamp selir like process_command() and add a fate test. Signed-off-by: Ayoub Nabil Boubagrat <237098474+ayoubnabil@users.noreply.github.com>