mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 13:28:17 +00: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>