Commit 84d0fcf2 authored by Michael Niedermayer's avatar Michael Niedermayer

libmp3lame: It appears the buffer used is a bit too small.

Increase it by an arbitrary amount.
Fixes part of Ticket676
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ca1bae39
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "mpegaudio.h" #include "mpegaudio.h"
#include <lame/lame.h> #include <lame/lame.h>
#define BUFFER_SIZE (7200 + 2 * MPA_FRAME_SIZE + MPA_FRAME_SIZE / 4) #define BUFFER_SIZE (7200 + 2 * MPA_FRAME_SIZE + MPA_FRAME_SIZE / 4+1000) // FIXME: Buffer size to small? Adding 1000 to make up for it.
typedef struct Mp3AudioContext { typedef struct Mp3AudioContext {
AVClass *class; AVClass *class;
lame_global_flags *gfp; lame_global_flags *gfp;
......
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