Browse Source

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>
tags/n0.10
Michael Niedermayer 14 years ago
parent
commit
84d0fcf268
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libmp3lame.c

+ 1
- 1
libavcodec/libmp3lame.c View File

@@ -31,7 +31,7 @@
#include "mpegaudio.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 {
AVClass *class;
lame_global_flags *gfp;


Loading…
Cancel
Save