Commit fafee9db authored by gpoirier's avatar gpoirier

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9786 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ad8a18bb
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "mpegaudio.h" #include "mpegaudio.h"
#include <lame/lame.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 { typedef struct Mp3AudioContext {
lame_global_flags *gfp; lame_global_flags *gfp;
int stereo; int stereo;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment