aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/flac_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder/flac_encoder.c')
-rw-r--r--src/encoder/flac_encoder.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/encoder/flac_encoder.c b/src/encoder/flac_encoder.c
index 775316789..00b59761b 100644
--- a/src/encoder/flac_encoder.c
+++ b/src/encoder/flac_encoder.c
@@ -332,12 +332,10 @@ flac_encoder_read(struct encoder *_encoder, void *dest, size_t length)
return length;
}
-static const char *flac_encoder_mime_type = "audio/flac";
-
static const char *
flac_encoder_get_mime_type(G_GNUC_UNUSED struct encoder *_encoder)
{
- return flac_encoder_mime_type;
+ return "audio/flac";
}
const struct encoder_plugin flac_encoder_plugin = {