/** size of the input buffer, must be big enough to hold header */
#define DEFAULT_INBUF_SIZE 65536
+static struct audio_format_handler *af;
static FILE *infile;
-static int inbuf_size;
static unsigned char *inbuf;
-static size_t inbuf_len;
-static struct audio_format_handler *af;
-static size_t num_chunks;
-
-static size_t *chunk_table;
-static NeAACDecHandle handle;
+static size_t inbuf_size, inbuf_len, *chunk_table, num_chunks;
static void aac_close_audio_file(void)
{
unsigned long rate = 0;
unsigned char channels = 0;
mp4AudioSpecificConfig mp4ASC;
+ NeAACDecHandle handle;
inbuf_size = DEFAULT_INBUF_SIZE;
inbuf = para_malloc(inbuf_size);