static OggVorbis_File *oggvorbis_file;
static FILE *infile;
-static int header_len, inbuf_size, vi_channels;
-static char *header, *inbuf;
+static int header_len, vi_channels;
+static char *header;
static ssize_t *chunk_table, max_chunk_len, num_chunks;
static struct audio_format_handler *af;
static long vi_sampling_rate, vi_bitrate, vi_bitrate_nominal;
free(chunk_table);
chunk_table = NULL;
num_chunks = 0;
- free(inbuf);
- inbuf = NULL;
- inbuf_size = 0;
}
static int ogg_save_header(FILE *file, int len)