ogg_afh.c: make vi_sampling_rate, vi_bitrate local
authorAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 23:00:31 +0000 (00:00 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 23:00:31 +0000 (00:00 +0100)
ogg_afh.c

index f57e2ec..ba9ef36 100644 (file)
--- a/ogg_afh.c
+++ b/ogg_afh.c
@@ -39,7 +39,6 @@ static int header_len;
 static char *header;
 static ssize_t *chunk_table, num_chunks;
 static struct audio_format_handler *af;
-static long vi_sampling_rate, vi_bitrate;
 
 static int ogg_compute_header_len(FILE *file)
 {
@@ -222,6 +221,7 @@ static int ogg_get_file_info(FILE *file, char *info_str, long unsigned *frames,
        double time_total;
        vorbis_info *vi;
        ogg_int64_t raw_total;
+       long vi_sampling_rate, vi_bitrate;
 
        if (!file)
                return -E_OGG_NO_FILE;