From c8af74a99bee0dbd9d449481db4edf132c1b9f5d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 11 Jan 2009 16:35:04 +0000 Subject: [PATCH] Increase BUFFER_SIZE. Fixes issue719. Originally committed as revision 16541 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libmp3lame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -#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;