avfilter/af_headphone: increase max ir length
authorPaul B Mahol <onemda@gmail.com>
Mon, 25 Sep 2017 10:12:13 +0000 (12:12 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 25 Sep 2017 10:12:13 +0000 (12:12 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_headphone.c

index f6edccc..3b76d1d 100644 (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);