aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/ffmpeg_plugin.c5
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;