decoder plugins: don't include gcc.h

Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
This commit is contained in:
Max Kellermann
2009-01-01 18:09:24 +01:00
parent 7dfe301b54
commit 17bdcc8bae
5 changed files with 17 additions and 12 deletions

View File

@@ -18,6 +18,8 @@
#include "../decoder_api.h"
#include <glib.h>
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
@@ -26,7 +28,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glib.h>
#ifdef OLD_FFMPEG_INCLUDES
#include <avcodec.h>
@@ -73,7 +74,7 @@ static struct ffmpeg_stream *url_to_struct(const char *url)
}
static int mpd_ffmpeg_open(URLContext *h, const char *filename,
mpd_unused int flags)
G_GNUC_UNUSED int flags)
{
struct ffmpeg_stream *stream = url_to_struct(filename);
h->priv_data = stream;