mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
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:
parent
73f51a4d3e
commit
c7d96ac69f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user