[FFmpeg-cvslog] avfilter/af_headphone: increase max ir length

Paul B Mahol git at videolan.org
Mon Sep 25 13:13:39 EEST 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep 25 12:12:13 2017 +0200| [5d07275529f6544dd61480875908287dd6f7a426] | committer: Paul B Mahol

avfilter/af_headphone: increase max ir length

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d07275529f6544dd61480875908287dd6f7a426
---

 libavfilter/af_headphone.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c
index f6edccc9bd..3b76d1d737 100644
--- a/libavfilter/af_headphone.c
+++ b/libavfilter/af_headphone.c
@@ -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);



More information about the ffmpeg-cvslog mailing list