static OggVorbis_File *oggvorbis_file;
static int header_len;
static char *header;
-static ssize_t *chunk_table, max_chunk_len, num_chunks;
+static ssize_t *chunk_table, num_chunks;
static struct audio_format_handler *af;
static long vi_sampling_rate, vi_bitrate, vi_bitrate_nominal;
static void ogg_compute_chunk_table(double time_total)
{
int i, ret, num;
- ssize_t pos = 0, min = 0, old_pos;
+ ssize_t max_chunk_len, pos = 0, min = 0, old_pos;
old_pos = 0;
ret = 0;