aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/vorbis_encoder.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-12-03 20:43:13 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-12-03 20:43:13 +0100
commita76097210f3484e77c6826e6b4fb1d50deef3af0 (patch)
tree7b188cb3a5d452a36bf99b78db15c42594d93136 /src/encoder/vorbis_encoder.c
parentac0bf1a445ab0d76b5d3c76b115552cfe4475ae0 (diff)
downloadmpd-a76097210f3484e77c6826e6b4fb1d50deef3af0.tar.gz
mpd-a76097210f3484e77c6826e6b4fb1d50deef3af0.tar.xz
mpd-a76097210f3484e77c6826e6b4fb1d50deef3af0.zip
encoders: remove unnessesary pointers to const strings
Diffstat (limited to '')
-rw-r--r--src/encoder/vorbis_encoder.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c
index df998efb2..8e118e90a 100644
--- a/src/encoder/vorbis_encoder.c
+++ b/src/encoder/vorbis_encoder.c
@@ -382,12 +382,10 @@ vorbis_encoder_read(struct encoder *_encoder, void *_dest, size_t length)
return nbytes;
}
-static const char *vorbis_encoder_mime_type = "application/x-ogg";
-
static const char *
vorbis_encoder_get_mime_type(G_GNUC_UNUSED struct encoder *_encoder)
{
- return vorbis_encoder_mime_type;
+ return "application/x-ogg";
}
const struct encoder_plugin vorbis_encoder_plugin = {