From 15fb206efa462125e3a3a4cab0e893c0ca1781ea Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 4 Mar 2007 23:37:16 +0100 Subject: [PATCH] ogg_afh.c: Kill unused inbuf and inbuf_size --- ogg_afh.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ogg_afh.c b/ogg_afh.c index a18c4d7e..a3e0f691 100644 --- a/ogg_afh.c +++ b/ogg_afh.c @@ -36,8 +36,8 @@ static double chunk_time = 0.25; 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; @@ -201,9 +201,6 @@ static void ogg_close_audio_file(void) 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) -- 2.39.5