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:
parent
4efb1658f5
commit
5d07275529
@ -335,7 +335,7 @@ static int read_ir(AVFilterLink *inlink, AVFrame *frame)
|
|||||||
av_frame_free(&frame);
|
av_frame_free(&frame);
|
||||||
|
|
||||||
ir_len = av_audio_fifo_size(s->in[input_number].fifo);
|
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) {
|
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);
|
av_log(ctx, AV_LOG_ERROR, "Too big length of IRs: %d > %d.\n", ir_len, max_ir_len);
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user