diff options
author | Matej Knopp <matej.knopp@gmail.com> | 2020-05-09 15:20:00 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-05-09 19:09:41 +0000 |
commit | 0a985ff67764c50280ea1de121e511299d4823f6 (patch) | |
tree | 230c602434b77f4d8a8c77c7aee76d0428150449 /ext | |
parent | b1b49a0913d463bd85715bb0b2b1e7c179beaad9 (diff) | |
download | gst-libav-0a985ff67764c50280ea1de121e511299d4823f6.tar.gz |
gstlibav: minor fixes for header files
Move G_BEGIN_DECLS below includes and add missing include
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/71>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/libav/gstavaudenc.h | 4 | ||||
-rw-r--r-- | ext/libav/gstavcodecmap.h | 1 | ||||
-rw-r--r-- | ext/libav/gstavviddec.h | 4 |
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 { |