summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpL16depay.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-04-13 09:15:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-04-13 09:15:31 +0000
commitcafd99311b7928e1cd3f0b005d2e2e59179e8fd4 (patch)
treec56ceb24f1218d7b80a2024064c3273c2089e708 /gst/rtp/gstrtpL16depay.h
parent9e8bbf41f76083b1fdf090217382c96f695d81e4 (diff)
reverting rtp patches to fix freeze break on -base as explained on the list
Original commit message from CVS: reverting rtp patches to fix freeze break on -base as explained on the list
Diffstat (limited to 'gst/rtp/gstrtpL16depay.h')
-rw-r--r--gst/rtp/gstrtpL16depay.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpL16depay.h b/gst/rtp/gstrtpL16depay.h
index 57f7b720..2c066077 100644
--- a/gst/rtp/gstrtpL16depay.h
+++ b/gst/rtp/gstrtpL16depay.h
@@ -24,7 +24,10 @@
#include "rtp-packet.h"
#include "gstrtp-common.h"
-G_BEGIN_DECLS
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
/* Definition of structure storing data for this element. */
typedef struct _GstRtpL16Depay GstRtpL16Depay;
@@ -54,14 +57,17 @@ struct _GstRtpL16DepayClass
#define GST_RTP_L16_DEPAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_L16_DEPAY,GstRtpL16Depay))
#define GST_RTP_L16_DEPAY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_L16_DEPAY,GstRtpL16DepayClass))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_L16_DEPAY,GstRtpL16Depay))
#define GST_IS_RTP_L16_DEPAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_L16_DEPAY))
-#define GST_IS_RTP_L16_DEPAY_CLASS(klass) \
+#define GST_IS_RTP_L16_DEPAY_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_L16_DEPAY))
gboolean gst_rtp_L16depay_plugin_init (GstPlugin * plugin);
-G_END_DECLS
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __GST_RTP_L16_DEPAY_H__ */