aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/bufferqueue.h
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-audio.com>2014-06-03 08:43:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 18:41:04 +0200
commitd76f0c0378dfd86883df28d32fdbc9071e2606ff (patch)
treec078836e18ea17e127b8cbb2b2a999f04cd1aff0 /libavfilter/bufferqueue.h
parent8f4b176c55f05291c85a32d55e07db1612bf93ea (diff)
downloadffmpeg-d76f0c0378dfd86883df28d32fdbc9071e2606ff.tar.gz
avfilter/bufferqueue: Increase buffer queue size
Avoid buffer overruns when processing some MOV files with the amerge filter. Files produced by Adobe Premiere Pro CC have up to one second of audio not interleaved. With common settings (<= 48kHz) that makes up to 47 frames so a queue length of 64 makes sense. Fixes ticket #3510. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/bufferqueue.h')
-rw-r--r--libavfilter/bufferqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/bufferqueue.h b/libavfilter/bufferqueue.h
index adbc0fd895..f5e5df2d72 100644
--- a/libavfilter/bufferqueue.h
+++ b/libavfilter/bufferqueue.h
@@ -37,7 +37,7 @@
* Powers of 2 are recommended.
*/
#ifndef FF_BUFQUEUE_SIZE
-#define FF_BUFQUEUE_SIZE 32
+#define FF_BUFQUEUE_SIZE 64
#endif
#include "avfilter.h"