]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 f57e2ec4d0ab8266b5d1339f5a17d747d6557256..ba9ef369b8761e6dac8e4c98a08c1673c7941f64 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;