diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2009-12-03 20:43:13 +0100 |
---|---|---|
committer | Viliam Mateicka <viliam.mateicka@gmail.com> | 2009-12-03 20:43:13 +0100 |
commit | a76097210f3484e77c6826e6b4fb1d50deef3af0 (patch) | |
tree | 7b188cb3a5d452a36bf99b78db15c42594d93136 /src/encoder/wave_encoder.c | |
parent | ac0bf1a445ab0d76b5d3c76b115552cfe4475ae0 (diff) | |
download | mpd-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/wave_encoder.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/encoder/wave_encoder.c b/src/encoder/wave_encoder.c index 535dfa145..3f6e21845 100644 --- a/src/encoder/wave_encoder.c +++ b/src/encoder/wave_encoder.c @@ -253,12 +253,10 @@ wave_encoder_read(struct encoder *_encoder, void *dest, size_t length) return length; } -static const char *wave_encoder_mime_type = "audio/wav"; - static const char * wave_encoder_get_mime_type(G_GNUC_UNUSED struct encoder *_encoder) { - return wave_encoder_mime_type; + return "audio/wav"; } const struct encoder_plugin wave_encoder_plugin = { |