diff options
author | Max Kellermann <max@duempel.org> | 2009-01-01 18:09:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-01 18:09:24 +0100 |
commit | 17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc (patch) | |
tree | 6cb5495417da4bf2ee80255443a3df8ba16e63a8 /src/decoder/ffmpeg_plugin.c | |
parent | 7dfe301b54c36ccd934246e81bde6b73e241f858 (diff) | |
download | mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.gz mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.xz mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.zip |
decoder plugins: don't include gcc.h
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/ffmpeg_plugin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c index 7f7978b9d..0475f442e 100644 --- a/src/decoder/ffmpeg_plugin.c +++ b/src/decoder/ffmpeg_plugin.c @@ -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; |