aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/wave_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder/wave_encoder.c')
-rw-r--r--src/encoder/wave_encoder.c4
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 = {