aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libmp3lame.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-11 16:35:04 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-11 16:35:04 +0000
commitc8af74a99bee0dbd9d449481db4edf132c1b9f5d (patch)
tree7d6a2a323b42f9627b84a45d9a2711d48433018b /libavcodec/libmp3lame.c
parent203fa6b4d1e6d1de1740aaa34f73c0e0d219a17e (diff)
downloadffmpeg-c8af74a99bee0dbd9d449481db4edf132c1b9f5d.tar.gz
Increase BUFFER_SIZE.
Fixes issue719. Originally committed as revision 16541 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libmp3lame.c')
-rw-r--r--libavcodec/libmp3lame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 4483d2870a..c91f653ce6 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -28,7 +28,7 @@
#include "mpegaudio.h"
#include <lame/lame.h>
-#define BUFFER_SIZE (7200 + MPA_FRAME_SIZE + MPA_FRAME_SIZE/4)
+#define BUFFER_SIZE (7200 + 2*MPA_FRAME_SIZE + MPA_FRAME_SIZE/4)
typedef struct Mp3AudioContext {
lame_global_flags *gfp;
int stereo;