X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3.c;h=b605b4ea5f3df3c5c866342da55e43549206fc44;hp=c1d5ae3f12277ae32365955e932c87570ed093cb;hb=adbf9f09c9bf2a680c61b1ef3541c04f1cde97cf;hpb=58ad3169dc1a4999ef3250753f980f168bd2f29e diff --git a/mp3.c b/mp3.c index c1d5ae3f..b605b4ea 100644 --- a/mp3.c +++ b/mp3.c @@ -101,7 +101,7 @@ static int mp3info_bitrate[2][3][14] = { }; static int frame_size_index[] = {24000, 72000, 72000}; -static char *mode_text[] = {"stereo", "joint stereo", "dual channel", "mono", "invalid"}; +static const char *mode_text[] = {"stereo", "joint stereo", "dual channel", "mono", "invalid"}; static struct mp3info mp3; static char mp3buf[8192]; @@ -125,7 +125,7 @@ static int header_frequency(struct mp3header *h) return frequencies[h->version][h->freq]; } -static char *header_mode(struct mp3header *h) +static const char *header_mode(struct mp3header *h) { if (h->mode > 4) h->mode = 4; /* invalid */