History

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.

Tobias Rapp committed 12 years ago

Commit d76f0c01 parent 8f4b1761 file · +1 −1Browse files

Showing the changes to libavfilter/bufferqueue.h (1 of 1 file). Show all

Unified · Split

libavfilter/bufferqueue.h+1−1
@@ -37,7 +37,7 @@ · 36 unmodified lines
37 * Powers of 2 are recommended.37 * Powers of 2 are recommended.
38 */38 */
39#ifndef FF_BUFQUEUE_SIZE39#ifndef FF_BUFQUEUE_SIZE
40#define FF_BUFQUEUE_SIZE 3240#define FF_BUFQUEUE_SIZE 64
41#endif41#endif
42 42
43#include "avfilter.h"43#include "avfilter.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t