From: Andre Noll Date: Sun, 4 Mar 2007 22:37:16 +0000 (+0100) Subject: ogg_afh.c: Kill unused inbuf and inbuf_size X-Git-Tag: v0.2.16~60 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=15fb206efa462125e3a3a4cab0e893c0ca1781ea;p=paraslash.git ogg_afh.c: Kill unused inbuf and inbuf_size --- 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)