mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Reduce stack usage in the vbrfix plugin. Fixes FS#8402.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16031 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e66ddd754f
commit
d86a9cac5c
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,8 @@ static struct plugin_api* rb;
|
|||
|
||||
static char *audiobuf;
|
||||
static ssize_t audiobuflen;
|
||||
unsigned char xingbuf[1500];
|
||||
char tmpname[MAX_PATH];
|
||||
|
||||
static void xingupdate(int percent)
|
||||
{
|
||||
|
@ -39,7 +41,6 @@ static int insert_data_in_file(char *fname, int fpos, char *buf, int num_bytes)
|
|||
int readlen;
|
||||
int rc;
|
||||
int orig_fd, fd;
|
||||
char tmpname[MAX_PATH];
|
||||
|
||||
rb->snprintf(tmpname, MAX_PATH, "%s.tmp", fname);
|
||||
|
||||
|
@ -127,7 +128,6 @@ static const unsigned char empty_id3_header[] =
|
|||
|
||||
static bool vbr_fix(char *selected_file)
|
||||
{
|
||||
unsigned char xingbuf[1500];
|
||||
struct mp3entry entry;
|
||||
int fd;
|
||||
int rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue