diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c index b742154ba3a64b9eed0083f20677fbb6cc883c10..e7671d08eaa7bdb767d5f9fd928168af6d70f0b5 100644 --- a/libavcodec/libmp3lame.c +++ b/libavcodec/libmp3lame.c @@ -28,7 +28,7 @@ #include "mpegaudio.h" #include <lame/lame.h> -#define BUFFER_SIZE (2*MPA_FRAME_SIZE) +#define BUFFER_SIZE (7200 + MPA_FRAME_SIZE + MPA_FRAME_SIZE/4) typedef struct Mp3AudioContext { lame_global_flags *gfp; int stereo;