diff options
author | waker <wakeroid@gmail.com> | 2009-08-30 19:35:19 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-30 19:35:19 +0200 |
commit | 7b0c87809108ab4e366580efae077d87731db374 (patch) | |
tree | 5a93e2d358424e807734b77b240cafe814cfc958 /cflac.c | |
parent | 8efe8f3c745f42fcad1df00638544a138dbadeb6 (diff) |
fixed buffer overrun in flac decoder
Diffstat (limited to 'cflac.c')
-rw-r--r-- | cflac.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ static DB_functions_t *deadbeef; #define max(x,y) ((x)>(y)?(x):(y)) static FLAC__StreamDecoder *decoder = 0; -#define BUFFERSIZE 40000 +#define BUFFERSIZE 100000 static char buffer[BUFFERSIZE]; // this buffer always has int32 samples static int remaining; // bytes remaining in buffer from last read static float timestart; |