increase buffer size of LAME MP3 encoder

The previous size lead to A/V sync issues
Patch by Andreas Öman %andreas AA olebyn PP nu%
Original thread:
Date: Jul 21, 2007 9:53 AM
Subject: [FFmpeg-devel] [PATCH] lame buffer shortage

Originally committed as revision 9786 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Andreas Öman 2007-07-24 09:59:54 +00:00 committed by Guillaume Poirier
parent 73f51a4d3e
commit c7d96ac69f

View File

@ -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;