Commit 5d072755 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_headphone: increase max ir length

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4efb1658
......@@ -335,7 +335,7 @@ static int read_ir(AVFilterLink *inlink, AVFrame *frame)
av_frame_free(&frame);
ir_len = av_audio_fifo_size(s->in[input_number].fifo);
max_ir_len = 4096;
max_ir_len = 65536;
if (ir_len > max_ir_len) {
av_log(ctx, AV_LOG_ERROR, "Too big length of IRs: %d > %d.\n", ir_len, max_ir_len);
return AVERROR(EINVAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment