Skip to content
Snippets Groups Projects
Commit c7d96ac6 authored by Andreas Öman's avatar Andreas Öman Committed by Guillaume Poirier
Browse files

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
parent 73f51a4d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment