filter/chain, encoder: GLib include cleanup
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
#include "audio_format.h"
|
||||
|
||||
#include <lame/lame.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -225,7 +228,7 @@ lame_encoder_close(struct encoder *_encoder)
|
||||
static bool
|
||||
lame_encoder_write(struct encoder *_encoder,
|
||||
const void *data, size_t length,
|
||||
G_GNUC_UNUSED GError **error)
|
||||
gcc_unused GError **error)
|
||||
{
|
||||
struct lame_encoder *encoder = (struct lame_encoder *)_encoder;
|
||||
unsigned num_frames;
|
||||
@@ -283,7 +286,7 @@ lame_encoder_read(struct encoder *_encoder, void *dest, size_t length)
|
||||
}
|
||||
|
||||
static const char *
|
||||
lame_encoder_get_mime_type(G_GNUC_UNUSED struct encoder *_encoder)
|
||||
lame_encoder_get_mime_type(gcc_unused struct encoder *_encoder)
|
||||
{
|
||||
return "audio/mpeg";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user