summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libav/gstavaudenc.h4
-rw-r--r--ext/libav/gstavcodecmap.h1
-rw-r--r--ext/libav/gstavviddec.h4
3 files changed, 5 insertions, 4 deletions
diff --git a/ext/libav/gstavaudenc.h b/ext/libav/gstavaudenc.h
index 4140856..23640bb 100644
--- a/ext/libav/gstavaudenc.h
+++ b/ext/libav/gstavaudenc.h
@@ -24,12 +24,12 @@
#ifndef __GST_FFMPEGAUDENC_H__
#define __GST_FFMPEGAUDENC_H__
-G_BEGIN_DECLS
-
#include <gst/gst.h>
#include <gst/audio/gstaudioencoder.h>
#include <libavcodec/avcodec.h>
+G_BEGIN_DECLS
+
typedef struct _GstFFMpegAudEnc GstFFMpegAudEnc;
struct _GstFFMpegAudEnc
diff --git a/ext/libav/gstavcodecmap.h b/ext/libav/gstavcodecmap.h
index 56975b6..6681a62 100644
--- a/ext/libav/gstavcodecmap.h
+++ b/ext/libav/gstavcodecmap.h
@@ -21,6 +21,7 @@
#define __GST_FFMPEG_CODECMAP_H__
#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include <gst/video/video.h>
diff --git a/ext/libav/gstavviddec.h b/ext/libav/gstavviddec.h
index a4ee1a0..a9f9da1 100644
--- a/ext/libav/gstavviddec.h
+++ b/ext/libav/gstavviddec.h
@@ -19,12 +19,12 @@
#ifndef __GST_FFMPEGVIDDEC_H__
#define __GST_FFMPEGVIDDEC_H__
-G_BEGIN_DECLS
-
#include <gst/gst.h>
#include <gst/video/video.h>
#include <libavcodec/avcodec.h>
+G_BEGIN_DECLS
+
typedef struct _GstFFMpegVidDec GstFFMpegVidDec;
struct _GstFFMpegVidDec
{