1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/af_headphone: increase max ir length

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2017-09-25 12:12:13 +02:00
parent 4efb1658f5
commit 5d07275529

View File

@ -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);