mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libmp3lame: It appears the buffer used is a bit too small.
Increase it by an arbitrary amount. Fixes part of Ticket676 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ca1bae3983
commit
84d0fcf268
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user