encoders: remove unnessesary pointers to const strings

This commit is contained in:
Viliam Mateicka
2009-12-03 20:43:13 +01:00
parent ac0bf1a445
commit a76097210f
5 changed files with 5 additions and 15 deletions

View File

@@ -275,12 +275,10 @@ lame_encoder_read(struct encoder *_encoder, void *dest, size_t length)
return length;
}
static const char *lame_encoder_mime_type = "audio/mpeg";
static const char *
lame_encoder_get_mime_type(G_GNUC_UNUSED struct encoder *_encoder)
{
return lame_encoder_mime_type;
return "audio/mpeg";
}
const struct encoder_plugin lame_encoder_plugin = {