Skip to content

Commit

Permalink
mp3.c: Use 4kiB input buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc0 committed Sep 2, 2024
1 parent 1ca3ef7 commit 1e5d76d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
#include "mp3.h"

/* largest possible frame size (http://www.mars.org/pipermail/mad-dev/2002-January/000425.html) */
#define MP3_BUF_SIZE 2881 + MAD_BUFFER_GUARD
/* #define MP3_BUF_SIZE (2881 + MAD_BUFFER_GUARD) */
#define MP3_BUF_SIZE (1<<12)

struct mp3_state {
int fd;
Expand Down

0 comments on commit 1e5d76d

Please sign in to comment.