diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index 5acc4178e0..4bf63e57cc 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -32,6 +32,7 @@ #endif #include +#include #include diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.h b/gst-libs/gst/codecparsers/gstmpeg4parser.h index 4a726e267c..c9030b8889 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.h +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.h @@ -22,7 +22,8 @@ #define __GST_MPEG4UTIL_H__ #include -#include + +G_BEGIN_DECLS typedef struct _GstMpeg4VisualObjectSequence GstMpeg4VisualObjectSequence; typedef struct _GstMpeg4VisualObject GstMpeg4VisualObject; @@ -577,4 +578,6 @@ gst_mpeg4_parse_video_packet_header (GstMpeg4VideoPacketHdr * videopackethd GstMpeg4SpriteTrajectory * sprite_trajectory, const guint8 * data, gsize size); +G_END_DECLS + #endif /* __GST_MPEG4UTIL_H__ */ diff --git a/gst-libs/gst/codecparsers/gstvp8parser.h b/gst-libs/gst/codecparsers/gstvp8parser.h index 228c254ab5..efe7950602 100644 --- a/gst-libs/gst/codecparsers/gstvp8parser.h +++ b/gst-libs/gst/codecparsers/gstvp8parser.h @@ -26,6 +26,8 @@ #include +G_BEGIN_DECLS + typedef struct _GstVp8FrameHdr GstVp8FrameHdr; typedef struct _GstVp8QuantIndices GstVp8QuantIndices; typedef struct _GstVp8Segmentation GstVp8Segmentation; @@ -331,4 +333,6 @@ GstVp8ParserResult gst_vp8_parser_parse_frame_header (GstVp8Parser * parser, GstVp8FrameHdr * frame_hdr, const guint8 * data, gsize size); +G_END_DECLS + #endif /* GST_VP8_PARSER_H */