]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
ogg_afh.c: Kill unused inbuf and inbuf_size
authorAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 22:37:16 +0000 (23:37 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 22:37:16 +0000 (23:37 +0100)
ogg_afh.c

index a18c4d7efb7695584bbf0c7de89e491fdc899419..a3e0f6911cea762eabe1bb59a09b277212643f4b 100644 (file)
--- 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)